question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to compile from source code

See original GitHub issue

Before 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)

  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 :

image

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:open
  • Created 9 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sschucommented, Dec 9, 2022

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.

1reaction
cod-soapcommented, Dec 9, 2022

Another try to use jdk in version 11 also failed with the same error occurs: image

runtime info: image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found