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