简体   繁体   English

Eclipse中的项目设置错误

[英]Error in Project setup in Eclipse

Error in pom.xml is Missing artifact org.geppetto:model:jar:0.2.8 pom.xml中的错误是缺少工件org.geppetto:model:jar:0.2.8
But on the location that jar file is present. 但是在存在jar文件的位置。 pom.xml错误

建立错误

There are two recommended solutions: 有两种推荐的解决方案:

  1. How did you obtain the dependency? 您是如何获得依赖的? Is it hosted in MVN Central or an internal dependency? 它托管在MVN Central还是内部依赖项中? If it is an internal dependency, make sure you install the dependency using Maven Install plugin. 如果它是内部依赖项,请确保使用Maven Install插件安装依赖项。 (Refer : http://maven.apache.org/plugins/maven-install-plugin/usage.html ) (请参阅: http : //maven.apache.org/plugins/maven-install-plugin/usage.html

  2. If you have already installed the dependency using the above step, then go to your local dependency location (.m2/org/gepetto/model) and delete all files ending with (.lastUpdated) 如果您已经使用上述步骤安装了依赖项,请转到本地依赖项位置(.m2 / org / gepetto / model)并删除所有以(.lastUpdated)结尾的文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM