Maven Exception Summary 001---MAVEN project import to MyEclipse exception occurred: Could not get mojo execution paramater value

Source: Internet
Author: User

An exception occurred when Maven project was imported to MyEclipse: Could not get mojo execution paramater value


Solution:

An error occurred at this time:
Could not get Mojo execution paramater value
The exception will be error one box: The contents of the box:
Plugin org.apache.maven.plugins:maven-compiler-plugin:2.0.2 or one of its dependencies
Could not being Resolved:transfer Error:connection timed out:no further information
org.codehaus.plexus:plexus-utils:jar:1.0.4


From the specified remote repositories:
Central (Http://repo1.maven.org/maven2, Releases=true, Snapshots=false),
Apache.snapshots (Http://people.apache.org/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


You can see from the error message that it is missing:
Plexus-utils-1.0.4.jar This jar package


Then we can from:
http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.3/
http://repo.maven.apache.org/maven2/plexus/plexus-utils/1.0.3/
Download the corresponding version of the jar package and place it in the local repository:
D:\Java\Maven\repos\org\codehaus\plexus\plexus-utils\1.0.4
In.


Look, I didn't find plexus-utils-1.0.4.jar here, I found it.
Plexus-utils-1.0.3.jar


This time I changed the name of Plexus-utils-1.0.3.jar to him:
Plexus-utils-1.0.4.jar


Then put it in the local repository:
D:\Java\Maven\repos\org\codehaus\plexus\plexus-utils\1.0.4
In.


Then the problem was solved.


However, note that the jar package was also found:
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/
In the above address, the jar package is imported.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.