Failed to execute goal org. Apache. Maven. plugins: Maven-shade-plugin: 2.0: shade

Source: Internet
Author: User

Failed to execute goal Org. apache. maven. plugins: Maven-shade-plugin: 2.0: shade (default) on Project qmserver: Execution default of Goal Org. apache. maven. plugins: Maven-shade-plugin: 2.0: shade failed: A Required class was missing while executing Org. apache. maven. plugins: Maven-shade-plugin: 2.0: shade: ORG/sonatype/aether/graph/dependencynode

?

This error occurs when you build Maven using eclipse. It may be because the corresponding Pom is generated after the version of the maven plug-in eclipse is updated. the XML file is not updated. You only need to upgrade the version in version. I upgraded to 2. 1. of course, if the maven plug-in version in your eclipse is not the latest, but the latest Pom is used. XML may also cause these errors. It is okay to adjust the version anyway.

???????????? <Plugin>

???????????????? <Groupid> org. Apache. Maven. plugins </groupid>

???????????????? <Artifactid> Maven-shade-plugin </artifactid>

???????????????? <Version> 2.0 </version> (I will change 2.0 to 2.1 here)

???????????????? <Executions>

???????????????????? <Execution>

???????????????????????? <Phase> package </phase>

???????????????????????? <Goals>

???????????????????????????? <Goal> shade </goal>

???????????????????????? </Goals>

???????????????????????? <Configuration>

???????????????????????????? <Transformers>

???????????????????????????????? <Transformer

???????????? ---

???????????????????????????????? </Transformer>

???????????????????????????? </Transformers>

???????????????????????? </Configuration>

???????????????????? </Execution>

???????????????? </Executions>

???????????? </Plugin>

Failed to execute goal org. Apache. Maven. plugins: Maven-shade-plugin: 2.0: shade

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.