Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile on project client-java-api
See original GitHub issueHi,
Could you please help me with the following issue I got while executing mvn install:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project client-java-api: Compilation failure: Compilation failure:
[ERROR] /Projects/kub/java/kubernetes/target/generated-sources/annotations/io/kubernetes/client/fluent/VisitableMap.java:[37,27] name clash: forEach(java.util.function.Consumer<?>) in io.kubernetes.client.fluent.VisitableMap and forEach(java.util.function.Consumer<? super io.kubernetes.client.fluent.Visitable>) in java.lang.Iterable have the same erasure, yet neither overrides the other
[ERROR] /Projects/kub/java/kubernetes/target/generated-sources/annotations/io/kubernetes/client/fluent/VisitableMap.java:[37,5] method does not override or implement a method from a supertype
[ERROR] /Projects/kub/java/kubernetes/target/generated-sources/annotations/io/kubernetes/client/fluent/VisitableMap.java:[38,33] incompatible types: java.util.function.Consumer<capture#1 of ?> cannot be converted to java.util.function.Consumer<? super io.kubernetes.client.fluent.Visitable>
[ERROR] -> [Help 1]
Java version: 13, maven 3.6.2
Issue Analytics
- State:
- Created 4 years ago
- Comments:23 (13 by maintainers)
Top Results From Across the Web
Maven build Compilation error : Failed to execute goal org ...
Using java 12, I am able to do clean package on my simple project via the command line. But when I try to...
Read more >Failed to execute goal org.apache.maven.plugins ... - GitHub
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project navigator-sdk-examples: Compilation failure ...
Read more >Solve [ERROR] Failed to execute goal org.apache.maven ...
Solve [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven: Compilation failure: ...
Read more >Failed to execute goal org.apache.maven.plugins:ma...
Failed to execute goal ... but when trying to atlas-run on myplugin directory I get this: Capture.PNG.
Read more >Failed To Execute Goal Org.Apache.Maven.Plugins ... - ADocLib
Getting the following error on executing a Jenkins maven job. Jenkins-Maven ERROR Failed to execute goal org apache maven plugins maven-compiler-plugin 3 1 ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

how to resolve comiler failure error only in jeniins not in eclips in eclips maven test will get success but it will show Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project SkillraryEcommerceProject: Compilation failure: Compilation failure: why this happens i have installed all the JRE’s and JDK,maven ,git all the thngs installed and added to jenkins. a simple project with one line code can run successfully in jenkins but try with the Huge Frame Work Code it will fails the build
We now have integration tests for Java 8 -> 13 and they are all passing. Closing this issue.