It has been a while since the previous idea version does not support the Tomcat server, so for a long time the Web project was developed and debugged by Eclipse.
Today is nothing to do download a latest version of idea, according to the online tutorial, try to run the Eclipse project results error
Startup is very smooth, but access to the Controller interface error 500, the details are as follows
March 09, 2018 3:29:51 pm Org.apache.catalina.core.StandardWrapperValve invoke
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:103)
At Org.apache.catalina.valves.AccessLogValve.invoke (accesslogvalve.java:958)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:116)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:452)
At Org.apache.coyote.http11.AbstractHttp11Processor.process (abstracthttp11processor.java:1087)
At Org.apache.coyote.abstractprotocol$abstractconnectionhandler.process (abstractprotocol.java:637)
At Org.apache.tomcat.util.net.aprendpoint$socketprocessor.dorun (aprendpoint.java:2517)
At Org.apache.tomcat.util.net.aprendpoint$socketprocessor.run (aprendpoint.java:2506)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617)
At Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61)
At Java.lang.Thread.run (thread.java:745)
With my years of experience writing bugs, I've never seen anything wrong with such a long string of error messages!!!
Mom, it's nerve-racking.
Internet search for how long did not find the same problem with me classmates! Almost hopeless ... Noon food do not swallow, but still eat a very big bowl of rice, people is iron rice is steel!
Sure enough to eat rice on the enlightened, I from the configuration of the project, service configuration, has always found the idea of the configuration, finally let me find a possible problem point
In the idea's file > Settings > Build > Compiler > Java Compiler Panel
There is a use Compiler configuration is Javac, change to eclipse
In the run, the interview is done, the problem solved, want to eat another meal!!
IntelliJ idea running Eclipse Web project error problem