spring 启动错误:No active profile set, falling back to default profiles: default
晚上在写东西的时候,用springboot做demo。创建了一个,启动后报错了。错误信息如下图:Noactiveprofileset,fallingbacktodefaultprofiles:default解决方案:下面这种方式,凯哥试了。不行!在stackoverflow中看到一篇:人家的可以,但是我的不行。同时百度、谷歌了很多,都是不行的。突然想起,前两天自己还写了个demo没问题的。果断的从
晚上在写东西的时候,用spring boot做demo。创建了一个,启动后报错了。
错误信息如下图:
No active profile set, falling back to default profiles: default

解决方案:
下面这种方式,凯哥试了。不行!

在stackoverflow中看到一篇:

人家的可以,但是我的不行。
同时百度、谷歌了很多,都是不行的。
突然想起,前两天自己还写了个demo没问
原创不易,完成人机校验,阅读全文
相关推荐
工作小总结spring boot 项目启动错误:classpath:/application.yml学习笔录-SPRING BOOTspring boot框架学习12-spring boot整合active mq方法1学习笔录-SPRING BOOTspring boot框架学习13-spring boot整合active mq方法2工作小总结spring异常:No runnable methods 解决方法工作小总结【已解决】Springboot 启动时报错:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean工作小总结eclipse启动错误An internal error occurred工作小总结我有个spring boot项目,可以正常启动的。启动类有AClass修改成BClass后,启动报错: 错误: 找不到或无法加载主类工作小总结数组,List,Set相互转化