Configure the errors reported in the MAVEN process and their solutions

Source: Internet
Author: User

1. "Error" Could not calculate build Plan:plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependenci ES could not resolved ... Screenshots are as follows:

"Solutions"

(1) View the settings.xml file for Maven, Windows-Preferences. M2 Location

(2) then delete all folders under the. M2/repository/org/apache/maven/plugins Directory

(3) Select Maven Project and right--->maven-->update let maven download the dependency package again

2, "error" multiple annotations found at the line:-execution default-testresources of Goal Org.apache.maven.plugins:maven-r Esources-plugin:2.4.3:testresources Failed:plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of Its dependencies could is not being resolved ...

"Solutions"

See: http://blog.csdn.net/imlmy/article/details/8268293

3, "error" Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:release from any of the configured Repositories.
Could not resolve artifact Org.apache.maven.archetypes:maven-archetype-webapp:pom:release

"Solutions"

See: http://blog.csdn.net/afgasdg/article/details/12757433

See: http://blog.csdn.net/u011340807/article/details/12649249

4. The problem now is that the jar packages downloaded with Maven are. lastupdated suffix, the jar package has not been downloaded successfully, resulting in the reported error. I configured the Alibaba cloud address in the settings.xml, carefully set the Preferences-->maven in the archetypes, installations and user Settings, The computer cache and download repository cleaned up many times, rebuild index several times, still can't solve the problem, do not know where the configuration is not a problem.

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.