Failed to compile from source code
See original GitHub issueBefore reporting an issue
- I have searched existing issues
- I have reproduced the issue with the latest release
Area
ci
Describe the bug
1.clone the latest code from github(20.0.1)
- try the flowing code build:
mvn clean install -Poperator -DskipTests
mvn clean install -Pdistribution -DskipTests
also I add this in my maven settings:
<mirrors>
<mirror>
<id>jboss-public-repository-group-https</id>
<mirrorOf>jboss-public-repository-group</mirrorOf>
<name>Jboss public https</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
</mirror>
</mirrors>
Version
20.0.1
Expected behavior
build success
Actual behavior
errors ocurred because there was lack of some classes :
How to Reproduce?
see in Describe
mvn -version: Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: D:\devTools\apache-maven-3.8.6 Java version: 19.0.1, vendor: Oracle Corporation, runtime: ******* Default locale: zh_CN, platform encoding: UTF-8 OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “windows”
Anything else?
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Failed to compile interop source code. See the build log for ...
Ive searched the internet far and wide for weeks on this issue. Its extremely frustrating with the volume of difficulties when building UWP ......
Read more >Error when compile source code - The UNIX and Linux Forums
i tried to compile a c++ file using the g++ command: g++ <filename>.cpp -out <output_file> and i received the following error message: ld.so.1:...
Read more >Failed to compile and shown an error Unformatted Go source ...
Support I just follow solution from this issue #10269 but can't find daemon/bindata.go for this, Want to install cilium v1.7 in new machine ......
Read more >Fix the top 10 most common compile time errors in Java
Top 10 common Java compile errors and how to fix them · Java source file name mismatch · Improper casing · Mismatched brackets...
Read more >Open Source React App Failed to Compile after npm install ...
This app is on github as open source project. I was trying to contribute to this project but seems like its not compiling....
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 FreeTop 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
Top GitHub Comments
I typically build with
mvn clean install -DskipTestsuite -DskipExamples -DskipTests
and it works without problems. I would assume it is something in your environment. I just cannot try to reproduce it as I am not running Windows.Another try to use jdk in version 11 also failed with the same error occurs:
runtime info: