Skip to content

Missing code file generated database using codeql #12827

@kingcarzy

Description

@kingcarzy

project language: java springboot
when I use command: codeql database create D:------_db --language="java" --command="mvn clean compile --file pom.xml -Dmaven.test.skip=true" --source-root=D:----------web
Command executed successfully with no errors,but when i use vscode to open the database and check the code file , a lot of java controller file missing.

As shown in the following figure:
image

On the left is the source code directory, and on the right is the code directory in the generated database。In the database,the directory of user only has one file and has no the controller, but in the source project, it has many files . And this is common in another directory.
so this problem is normal? How to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions