A
A
alarchikov2016-12-10 21:26:03
Java
alarchikov, 2016-12-10 21:26:03

Deployment error from idea to local Tomcat - where to dig?

First acquaintance with Java-Spring-Idea-Tomcat. So please don't drink too much.
I am collecting several different examples of the simplest spring mvc hello world applications, and when I try to deploy to local tomcat from bitnami, the following problematic log crashes in all of them:

C:\Bitnami\tomcatstack-8.0.39-0\apache-tomcat\bin\catalina.bat run
[2016-12-10 09:00:48,978] Artifact SpringMVC_JSPHelloWorld:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\Andrey\.IntelliJIdea2016.2\system\tomcat\Unnamed_SpringMVC_JSPHelloWorld_3"
Using CATALINA_HOME: "C:\Bitnami\tomcatstack-8.0.39-0\apache-tomcat"
Using CATALINA_TMPDIR: "C:\ Bitnami\tomcatstack-8.0.39-0\apache-tomcat\temp"
Using JRE_HOME: "C:\Bitnami\TOMCAT~1.39-\java"
Using CLASSPATH: "C:\Bitnami\tomcatstack-8.0.39-0\apache -tomcat\bin\bootstrap.jar;C:\Bitnami\tomcatstack-8.0.39-0\apache-tomcat\bin\tomcat-juli.jar"
Error: Could not find or load main class ++JvmOptions=-Djava. awt.
Disconnected from server

JDK updated to latest.
If you build in war and deploy through the web interface, everything works. But not directly from the idea.
What can you try to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrBe, 2016-12-11
@MrBe

I understand that you separately launched Tomcat and in IDEA you are trying to connect to it.
According to the idea, you need to connect to Tomcat as a remote server in ideas.
Or you can create a local connection in the tomato, then IDEA itself will start Tomcat
034a5ba0199f4a899bcc28ccd601d3e0.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question