ITeye博客

Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing Embedd

wangyanlong0107 · 2017-03-22 08:51 · intellij idea · maven · 开源软件 · Markdown

spring boot启动时报错:

Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

但是用命令mvn clean package spring-boot:run -Plocal 可以启动。

则需要配置程序启动参数,如图所示。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。