java 请问本地项目运行没问题,放到云服务器上就报错是怎么回事?
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
还有bean找不到之类的错,有清过缓存重新构建之类的但都没用。
看你描述应该是你本地启动用的是springboot启动,放到服务器是tomcat。
看报错信息 Unable to start embedded Tomcat,不能启动内嵌的tomcat,试试打包的时候移除内嵌的tomcat,使用外部容器
看看是不是本地和云服务JDK版本不一致