首页 > 编程语言 > 详细

Springboot The requested profile "pom.xml" could not be activated because it doesn't not exists

时间:2018-08-29 11:55:51      阅读:3572      评论:0      收藏:0      [点我收藏+]

头一次写springboot项目,打成war包时,pom.xml也都配置了,网上查了很多资料说是maven环境和java环境的问题,但是看了后没有发现什么问题,删了maven下的.m2maven库再重载也没有什么卵用,

后来在项目上右击 -->propreties -->maven 点击Pestore Defaults 把文本框的pom.xml给清空,然后Applly and close 保存并退出,再次打包。项目下的target下就有了war包。

Springboot The requested profile "pom.xml" could not be activated because it doesn't not exists

原文:https://www.cnblogs.com/lqtbk/p/9552840.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!