选中项目 然后 选中Force Update of Snapshots/Releases,点击OK即可。 此时pom.xml就不会报错了。 转载于:https://www.cnblogs.com/liaoxiaolao/p/9679833.html