When the configured Tomcat starts a new project, it stops automatically half way through.
After checking the configuration of artifacts, it turns out that the path is wrong:
File-> Project Structure-> Project Settings-> Artifacts-> Click the ‘+’ sign to add
Note the output directory:
After configuring artifacts, remember to add dependencies in Tomcat:
Read More:
- [Solved] SSM startup error: ClassNotFoundException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- [Solved] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
- Error:Cannot build artifact xxx:war exploded’ because it is included into a circular dependency
- [Solved] Tomcat runs JavaWeb servlet Error 404
- [Solved] Configuration Error: deployment source ‘xxx:war‘ is not valid
- [Solved] Tomcat Do not Start Error: Error: Application Server not specified
- [Solved] IDEA Add maven Project Error: Error:(3,21)java: Package javax.servletdoes not exist
- [Solved] Error running ‘tomcat:run‘: Cannot run program “tomcat:run“
- IDEA-Error java error release version 5 not supported (How To Fix)
- IDEA Compile Error: java Compilation failed internal java compiler error
- [Solved] Error running ‘TomEE 10.0.121‘: The selected directory is not a TomEE hom
- Tomcat Run Error: Can‘t find catalina.jar [How to Solve]
- Error in gradle7 testcompile compilation [How to Solve]
- Notes for migrating Oracle jdk8 to openjdk11
- Mac project startup error: logback configuration error detected
- [Solved] Maven Project Error: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- [Solved] Error:java: Compilation failed: internal java compiler error 解决办法
- Errorjava Compilation failed internal java compiler error [How to Solve]
- [Solved] Error:java: Compilation failed: internal java compiler error
- [Solved] Java: compilation failed: internal java compiler error