Home > Back-end >  Nacos Windows startup error Unable to start embedded Tomcat
Nacos Windows startup error Unable to start embedded Tomcat

Time:12-07

Using the JDK is a Java version 1.8.0 comes with _202 - ea
Nacos version 1.1.2 to is 1.4.0 newspaper the wrong
Database is created, the configuration file should also, in addition to the change of the JDK version there is no other solution?
` ` ` Java
Org. Springframework. Context. ApplicationContextException: Unable to start the web server; Nested exception is org. Springframework. Boot.. Web server WebServerException: Unable to start embedded Tomcat
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. OnRefresh (ServletWebServerApplicationContext. Java: 156)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 544)
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 141)
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 744)
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 391)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 312)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1215)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1204)
At com. Alibaba. Nacos. Nacos. Main (nacos. Java: 35)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Springframework. Boot. Loader. MainMethodRunner. Run (49) MainMethodRunner. Java:
The at org. Springframework. Boot. Loader. The Launcher. Launch (107). The Launcher Java:
The at org. Springframework. Boot. Loader. The Launcher. Launch (58) the Launcher. Java:
At org. Springframework. Boot. Loader. PropertiesLauncher. Main (467) PropertiesLauncher. Java:
Under Caused by: org. Springframework. Boot.. Web server WebServerException: Unable to start embedded Tomcat
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. The initialize (TomcatWebServer. Java: 124)
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. & lt; init> (TomcatWebServer. Java: 86)
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatServletWebServerFactory. GetTomcatWebServer (TomcatServletWebServerFactory. Java: 416)
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatServletWebServerFactory. GetWebServer (TomcatServletWebServerFactory. Java: 180)
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. CreateWebServer (ServletWebServerApplicationContext. Java: 180)
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. OnRefresh (ServletWebServerApplicationContext. Java: 153)
. 16 common frames omitted
Under Caused by: Java. Lang. An IllegalStateException: StandardEngine [r]. Tomcat StandardHost [localhost] TomcatEmbeddedContext [/nacos] failed to start
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. RethrowDeferredStartupExceptions (TomcatWebServer. Java: 169)
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. The initialize (TomcatWebServer. Java: 108)
. 21 common frames omitted
` ` `
  • Related