后端编译打包出错

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project jeelowcode-module-api: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:2.6:resources: org/codehaus/plexus/util/Scanner

[ERROR] -----------------------------------------------------

[ERROR] realm =    plugin>org.apache.maven.plugins:maven-resources-plugin:2.6

[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

[ERROR] urls[0] = file:/Users/lixianli/.m2/mavenrepo/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.jar

[ERROR] urls[1] = file:/Users/lixianli/.m2/mavenrepo/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar

[ERROR] urls[2] = file:/Users/lixianli/.m2/mavenrepo/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar

[ERROR] urls[3] = file:/Users/lixianli/.m2/mavenrepo/commons-cli/commons-cli/1.0/commons-cli-1.0.jar

[ERROR] urls[4] = file:/Users/lixianli/.m2/mavenrepo/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

[ERROR] urls[5] = file:/Users/lixianli/.m2/mavenrepo/junit/junit/3.8.1/junit-3.8.1.jar

[ERROR] urls[6] = file:/Users/lixianli/.m2/mavenrepo/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar

[ERROR] urls[7] = file:/Users/lixianli/.m2/mavenrepo/org/apache/maven/shared/maven-filtering/1.1/maven-filtering-1.1.jar

[ERROR] urls[8] = file:/Users/lixianli/.m2/mavenrepo/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar

[ERROR] urls[9] = file:/Users/lixianli/.m2/mavenrepo/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar

[ERROR] Number of foreign imports: 1

[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

[ERROR] 

[ERROR] -----------------------------------------------------

[ERROR] : org.codehaus.plexus.util.Scanner

[ERROR] -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <args> -rf :jeelowcode-module-api

lixianli@lixianlideMacBook-Pro xy-backend % 

找不到包

评论区

超级管理员 2025-06-17 15:26

是不是maven没有弄好,我们这边正常这样打包可以
image.png

回复