pom.xml加上下面依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web< ...
No active profile set, falling back to default profiles: default SpringBoot发布的时候发现出现这个错误 , 当然这个错误一搜就有答案 , 大部分是依赖的问题 , 需要看一下是否缺少这两个 我们项目不是cloud的 ,所有只需要第一个 , 如果是cloud项目则需要第二个 我对了无数遍pom文件 , 重新clean packa ...
2021-01-27 17:52 0 3178 推荐指数:
pom.xml加上下面依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web< ...
刚刚创建的项目,启动时候报错为: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> < ...
pom.xml加上下面两个依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web< ...
pom.xml加上下面两个依赖 ...
启动 Spring Boot 失败,但是没有出现多余的异常信息: 检查之后发现是依赖的问题(之前依赖的是 spring-boot-starter),修改即可: 方法二: pom.xml加上下面两个依赖 <dependency> ...
问题在于生成项目时未自带此依赖,导致无法扫描配置文件,在pom.xml中增加此依赖解决问题。 ...