build path entity is missing eclipse maven

      项目要使用一个自己打包的jar。
      使用mvn install 安装到本地后,使用mvn deploy 安装到nexus 私有服务器。
      使用mvn eclipse:clean eclipse:eclipse,发现项目始终引用不到该jar,eclipse build path,在oder and      export中提示 buid path  entity is missing,缺少刚才部署的jar包。
      多次重新部署该jar,发现部署都是成功的。怀疑是nexus索引出了问题。
      重启nexus,登陆到主仓库,update Index,重新运行用mvn eclipse:clean eclipse:eclipse正常。

猜你喜欢

转载自yizhilong28.iteye.com/blog/1146815
今日推荐