原文:Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

照着教程弄的第一个 DEMO,结果启不来。 解决办法:在Controller 上面加上 EnableAutoConfiguration 成功启动 Demo的其它内容及配置如下图,新建一个 空的 Maven 项目 Pom.xml 主界面: Control.java 运行报错 ...

2020-03-06 08:49 0 4138 推荐指数:

查看详情

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