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.