刚刚创建的项目,启动时候报错为:No active profile set, falling back to default profiles: default 原来是因为缺少了springmvc的依赖: ...
pom.xml加上下面依赖 lt dependency gt lt groupId gt org.springframework.boot lt groupId gt lt artifactId gt spring boot starter web lt artifactId gt lt dependency gt ...
2019-11-26 16:42 0 497 推荐指数:
刚刚创建的项目,启动时候报错为:No active profile set, falling back to default profiles: default 原来是因为缺少了springmvc的依赖: ...
这个错误是由于idea没有设置默认启动环境,设置即可 ...
问题: springboot启动失败( No active profile set, falling back to default profiles: default) 解决方法 在pom.xml文件中增加以下依赖 <dependency> < ...
No active profile set, falling back to default profiles: default SpringBoot发布的时候发现出现这个错误 , 当然这个错误一搜就有答案 , 大部分是依赖的问题 , 需要看一下是否缺少这两个(我们项目 ...
pom.xml加上下面两个依赖 <dependency> <groupId>org.springframework.boot</groupId> & ...
pom.xml加上下面两个依赖 ...
启动 Spring Boot 失败,但是没有出现多余的异常信息: 检查之后发现是依赖的问题(之前依赖的是 spring-boot-starter),修改即可: 方法二: ...
问题在于生成项目时未自带此依赖,导致无法扫描配置文件,在pom.xml中增加此依赖解决问题。 ...