Spring Boot 啟動報錯Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFa
阿新 • • 發佈:2019-01-26
在配置SpringBoot的時候 啟動的時候報錯 Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
解決方法 在啟動類加上
解決方法 在啟動類加上
@SpringBootApplication 註解
即可完美解決