When using idea, Tomcat can’t start normally, error prompt: org.apache.catalina . core.StandardContext.startInternal Error listener start. No more detailed error information.
Google has a plan to record Tomcat log details: create a new one in the project resource directory logging.properties File, enter the following into the file:
handlers = org.apache.juli.FileHandler,java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = error-debug.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
Restart tomcat, you will find more detailed error information under server.
My error message here:
caused by: org.springframework.context . annotation.ConflictingBeanDefinitionException : Annotation-specified bean name ‘newsManagerController’ for bean class [ com.qf.official . controller.NewsManagerController ] conflicts with existing, non-compatible bean definition of same name and class [ com.qf.bookbar . news.controller.NewsManagerController ].
because the name of a class has been modified before, which is duplicate with the class name in the system, the problem is solved by modifying the class name.
Read More:
- Solution to Tomcat starting error listener start
- Tomcat start error: severe: error listener start
- IntelliJ idea community community integrated Tomcat or jetty tutorial
- Upgrade to IntelliJ idea 2021.2 and start the project with an error
- Error: (serious: a child container failed during start) (server component failed to start so Tomcat is unable)
- Idea starts Tomcat console with garbled code but no error
- [Solved] Tomcat Failed to Start Error: Server Tomcat v8.5 Server at localhost failed to start
- Idea Tomcat start error Error:java : Compilation failed: internal java compiler error
- [error] error handling of IntelliJ idea
- Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently
- tomcat Issues org.apache.catalina.LifecycleException: Failed to start component
- A child container failed during start Tomcat error prompt
- Tomcat start error touch under Linux
- Tomcat service failed to start
- IntelliJ idea automatically generates serialVersionUID
- [solved] error: module not specified (IntelliJ idea)
- IntelliJ idea sets the default working directory
- IDEA报Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA
- Maven failed to start component [standard engine [Tomcat] when using tomcat7 Maven plugin plug-in run
- IntelliJ idea debugging Java 8 stream