额,在Stackoverflow上找到了一个答案:

I had this in eclipse and did this which fixed it(even though my command line build worked)

delete the directory in .m2/repostiory/....
rerun update dependencies in my IDE
mvn command line worked while my IDE didn't, once I ran it in my IDE both worked..very weird.

As another option, restarting eclipse seemed to help as well

转载于:https://www.cnblogs.com/tuhooo/p/6767059.html

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐