- springboot项目启动后立即自动关闭,没有报错信息
- 关于"Invalid character found in me
- 启动tomcat报错:Could not publish to
- zookeeper启动成功后自动关闭。日志报错Unable to
- Access denied for user '***'@'lo
- springboot启动后自动关闭
- springboot 配置 spring cloud 时的注意事
- springdatajpa Index column size
- Failed to configure a DataSource
- springboot 启动后立即执行自定义代码 (Command
1、引入web包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
2、去掉<scope>provided</scope>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!--<scope>provided</scope>-->
</dependency>
网友评论