Unable to start embedded Tomcat error reporting solution:
Such an error occurred when starting Eureka service. Finally, I found many methods on the Internet. After a brief understanding, it is due to the problem of JDK version. There are several dependencies after jdk9, but I use jdk13, so I will report an error. In this case, there are two solutions:
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
1、 Reduce JDK to version 1.8
2、 The following dependencies are introduced into pom.xml:
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.1</version>
</dependency>
Next, you can see the familiar interface
Read More:
- IDEA Start Tomcat Error: Error running ‘start Tomcat‘: Can‘t find catalina.jar
- Tomcat startup error: Failed to start component [StandardServer[8005]] solution
- [Solved] Tomcat Error: Failed to start componen
- [Solved] UNABLE TO START SERVLETWEBSERVERAPPLICATIONCONTEXT DUE TO MISSING SERVLETWEBSERVERFACTORY BEAN
- [Solved] CommandWithNoStdoutInvokationFailure Unable to start ADB server.
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- [Solved] Playbook Start Nginx Error: Unable to start service nginx: Job for nginx.service fd with error code
- Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repa
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- Ubutnu Qt Unable to start process Error: “make“ -f ‘ /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit sta
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START
- How to Solve Application failed to start error
- Kubernetes Error: Error in configuration: unable to read client-cert* unable to read client-key*
- Android studio can’t start, running error: warning: crash service did not start
- [Solved] Ureport2 export word error: unable to access this website
- Eclipse Tomcat Error creating bean with name ‘sqlSessionFactory’ defined in URL…
- Tomcat startup error: java.lang.NoClassDefFoundError
- [Solved] Error running tomcat8: Address localhost:80 is already in use
- Error when Struts2 started Tomcat: org.apache.catalina.core.StandardContext filterStart
- [Solved] swagger3 Error: org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException