Nacos enable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat


启动Nacos的时候总是报错 enable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

 

 

百度了好久,试了

1、把target中的jar文件解压到bin/work/Tomcat下无果

2、修改startup.sh 文件把

export MODE="cluster" 修改为 
export MODE="standalone" 无果
 
最终解决方案:
启动命令:./startup.sh -m standalone
 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 SpringCloud Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded 错误:org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWeb Unable to start web server; nested exception is org.springframework.context.ApplicationContextException Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFa Spring Boot常见问题(二)Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.tomcat.util.scan.StandardJarScanner.setJarScanFilter(Lorg/apache/tomcat/JarScanFilter; org.springframework.context.ApplicationContextException: Unable to start web server; nested exceptio nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.报错解决 Spring boot Unable to start embedded Tomcat报错 java.lang.NoSuchMethodError: javax.servlet.ServletContext.getVirtualServerName() org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/tmp/tomcat.1428942566812653608 org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException: 临时上传路径[D:\tomcat\work\Catalina\localhost\ROOT]无效
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM