原文:org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplic

解决办法: . 在pom.xml中必须添加依赖 .启动类上必须添加注解 Controller .启动类上必须添加注解 EnableAutoConfiguration 或 SpringBootApplication ...

2019-11-11 10:57 0 10386 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM