问题
idea 上的 maven 项目突然报错,是发生在经常切换git分支的时候。
description : the <project> element is the root of the descriptor. the following table lists all of the possible child elements. version : 3.0.0+
解决方式
maven 仓库内搜索:resolver-status.properties
我把发生问题时生成的resolver-status.properties删除(用剪切方式放在其他目录,以防万一)。
然后再清除缓存重启idea,问题解决。
总结
以上为个人经验,希望能给大家一个参考,也希望大家多多支持代码网。
发表评论