Skip to content

[Java][maven] "No source code was seen and extracted" #137

Open
@FizzFish

Description

@FizzFish

When I compile a java project built by maven, codeql tell me "No source code was seen and extracted".

  1. cmd is: codeql database create sonar.db -l java -c "./gradlew --no-build-cache clean classes"
  2. The project is built correctly, and many *.class are generated.
  3. There only "codeql-database.yml", "log", "working" files in codeql database directory.
    The reason is maybe that codeql cannot "Intercepted call" with Java correctly. But I don't know why codeql cannot hook Java compiler.

build-tracer.log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions