SEVERE: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
The Tomcat server was deployed on Eclipse before, and it was deployed on MyEclipse today. As a result, Tomcat failed to start and an error was reported. After searching the Internet for a long time, some said it was because the port was occupied, and some said it was because of the wrong version of Tomcat’s JDK. Actually neither. The reason is that the last few extra lines in Tomcat’s server.xml configuration file are probably automatically generated by projects that were previously run on Eclipse. After deleting them, Tomcat will run normally.
<Host appBase=”webapps” autoDeploy=”true” name=”localhost” unpackWARs=”true”>
<Valve className=”org.apache.catalina.authenticator.SingleSignOn” />
<Valve className=”org.apache.catalina.valves.AccessLogValve” directory=”logs” pattern=”%h %l %u %t “%r” %s %b” prefix=”localhost_access_log.” suffix=” .txt”/>
<Context docBase=”MyProject” path=”/MyProject” reloadable=”true” source=”org.eclipse.jst.jee.server:MyProject”/></Host>
Read More:
- [Sp;ved] Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ssm]
- [Solved] Tomcat Error: Failed to start componen
- IDEA Start Tomcat Error: Error running ‘start Tomcat‘: Can‘t find catalina.jar
- Unable to start embedded Tomcat [How to Solve]
- Tomcat startup error: java.lang.NoClassDefFoundError
- [Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] .NetCore2.2 Upgrade to 3.1 Error: HTTP Error 500.37 – ANCM Failed to Start Within Startup Time
- [Solved] element-plus Error: Failed to resolve component
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START
- [Solved] Vue Error: Failed to mount component: template or render function not defined
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- [Solved] error Component name “index“ should always be multi-word vue/multi-word-component-names
- SpringBoot startup error Failed to determine a suitable driver class
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- [Solved] Windows Nginx Startup Error: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- Initial installation of hive-2.1.0 startup error problem solution
- Eclipse Tomcat Error creating bean with name ‘sqlSessionFactory’ defined in URL…
- [Solved] Spring MVC Error: A child container failed during start