Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build project #16

Open
Mehjbee opened this issue May 20, 2019 · 1 comment
Open

Failed to build project #16

Mehjbee opened this issue May 20, 2019 · 1 comment

Comments

@Mehjbee
Copy link

Mehjbee commented May 20, 2019

Hi Team,

I am trying to build my project using maven 3.5.2 , java 1.8 but stuck at below error

[WARNING] Error injecting: org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering
java.lang.NoClassDefFoundError: Lorg/sonatype/plexus/build/incremental/BuildContext;
at java.lang.Class.getDeclaredFields0 (Native Method)
at java.lang.Class.privateGetDeclaredFields (Class.java:2583)
at java.lang.Class.getDeclaredFields (Class.java:1916)
at com.google.inject.spi.InjectionPoint.getInjectionPoints (InjectionPoint.j
ava:675)

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.145 s
[INFO] Finished at: 2019-05-18T10:30:34Z
[INFO] Final Memory: 20M/411M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mule.tools.maven:mule-app-maven-plugin:1.2:filter-resources (default-filter-resources) on project sys-t24-mws-api-real: Execution default-filter-resources of goal org.mule.tools.maven:mule-app-maven-plugin
:1.2:filter-resources failed: A required class was missing while executing org.mule.tools.maven:mule-app-maven-plugin:1.2:filter-resources: Lorg/sonatype/plexus
/build/incremental/BuildContext;
[ERROR] -----------------------------------------------------
[ERROR] realm = extension>org.mule.tools.maven:mule-app-maven-plugin:1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/S:/mule_repo/org/mule/tools/maven/mule-app-maven-plugin/
1.2/mule-app-maven-plugin-1.2.jar
[ERROR] urls[1] = file:/S:/mule_repo/org/jfrog/maven/annomojo/maven-plugin-tools
-anno/1.4.0/maven-plugin-tools-anno-1.4.0.jar
[ERROR] urls[2] = file:/S:/mule_repo/org/codehaus/plexus/plexus-archiver/2.0.1/p
lexus-archiver-2.0.1.jar
[ERROR] urls[3] = file:/S:/mule_repo/org/apache/maven/shared/maven-filtering/1.0
/maven-filtering-1.0.jar
[ERROR] urls[4] = file:/S:/mule_repo/org/slf4j/slf4j-simple/1.6.6/slf4j-simple-1
.6.6.jar
[ERROR] urls[5] = file:/S:/mule_repo/org/mule/tools/mule-artifact-archiver/1.1/m
ule-artifact-archiver-1.1.jar
[ERROR] urls[6] = file:/S:/mule_repo/org/codehaus/plexus/plexus-utils/1.1/plexus
-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : org.sonatype.plexus.build.incremental.BuildContext
[ERROR] -> [Help 1]

I have cleaned cleaned the local repository and added jar manually as well but still facing issue.

Please help

Thank you in advance

@diegohap
Copy link

Did you solve this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants