700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Maven异常总结001---Maven project导入到myeclipse时候出现异常:could not get mojo execution paramater value

Maven异常总结001---Maven project导入到myeclipse时候出现异常:could not get mojo execution paramater value

时间:2024-04-30 04:26:41

相关推荐

Maven异常总结001---Maven project导入到myeclipse时候出现异常:could not get mojo execution paramater value

Maven project导入到myeclipse时候出现异常:could not get mojo execution paramater value

解决方案:

这时候发生了一个错误:

could not get mojo execution paramater value

出异常会报错一个框:弹框中的内容:

Plugin org.apache.maven.plugins:maven-compiler-plugin:2.0.2 or one of its dependencies

could not be resolved: Transfer error: Connection timed out: no further information

org.codehaus.plexus:plexus-utils:jar:1.0.4

from the specified remote repositories:

central (/maven2, releases=true, snapshots=false),

apache.snapshots (/repo/m2-snapshot-repository, releases=false, snapshots=true)

Path to dependency:

1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2

2) org.codehaus.plexus:plexus-utils:jar:1.0.4

可以从错误信息中看到,是缺少:

plexus-utils-1.0.4.jar这个jar包

那么咱们可以从:

/maven2/plexus/plexus-utils/1.0.3/

http://repo./maven2/plexus/plexus-utils/1.0.3/

下载,对应版本的jar包,然后放到本地仓库:

D:\Java\Maven\repos\org\codehaus\plexus\plexus-utils\1.0.4

中.

注意这里我没有找到plexus-utils-1.0.4.jar,我找到了

plexus-utils-1.0.3.jar

这个时候我把plexus-utils-1.0.3.jar给他改了一下名字:

plexus-utils-1.0.4.jar

然后放到了本地仓库:

D:\Java\Maven\repos\org\codehaus\plexus\plexus-utils\1.0.4

中.

然后也把这个问题解决了.

但是,注意最后也找到了这个jar包了:

http://repo./maven2/org/codehaus/plexus/plexus-utils/1.0.4/

在上面这个地址,把这个jar包导入就可以了.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。