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

Bug: Error when scanning Gradle Project #326

Open
aydinnyunus opened this issue Jul 10, 2024 · 1 comment
Open

Bug: Error when scanning Gradle Project #326

aydinnyunus opened this issue Jul 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aydinnyunus
Copy link

Expected Behavior

Scanning java files in file system.

Actual Behavior

BUILD FAILED in 361ms

  1. Check if the correct version of java and gradle are installed and available in PATH. For example, some project might require Java 11 with gradle 7.
    cdxgen container image bundles Java 21 with gradle 8 which might be incompatible.
  2. Try running cdxgen with the unofficial JDK11-based image ghcr.io/appthreat/cdxgen-java:v10.
    Obtained only 0 from 1 jars

Steps to Reproduce

No response

Additional Information

No response

@aydinnyunus aydinnyunus added the bug Something isn't working label Jul 10, 2024
@prabhu
Copy link
Member

prabhu commented Jul 14, 2024

@aydinnyunus Could you share more information such as the project structure, package manager used, and what version of java is required to build the project and so on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants