解决项目报错:ApplicationContextException: Unable to start web server; nested exception is

项目报错:ApplicationContextException: Unable to start web server; nested exception is

提供一种解决方式:


    
        
            org.springframework.boot
            spring-boot-starter-web
            
                
                    org.springframework.boot
                    spring-boot-starter-tomcat
                
            
        

出现了这个异常,
只要再pom文件里加上对应的 container deps: 


     
            org.springframework.boot
            spring-boot-starter-jetty
        

就可以了。

 

 

参考链接:https://bbs.csdn.net/topics/391039574

你可能感兴趣的:(后端)