CodeQLpy
CodeQLpy copied to clipboard
编译报错
PS E:\codeql\CodeQLpy> codeql database create out/database/webroot --language=java --command="E:\codeql\CodeQLpy\out\decode/run.cmd" --overwrite
Initializing database at E:\codeql\CodeQLpy\out\database\webroot.
Running build command: [E:\codeql\CodeQLpy\out\decode/run.cmd]
[2023-03-14 19:10:13] [build-stdout] offjava -jar E:\codeql\CodeQLpy\lib\ecj-4.6.1.jar -extdirs "E:\codeql\CodeQLpy\out\decode\lib;lib/spring_mvc_lib;lib/common_lib;lib/java8_lib;lib/tomcat_lib" -sourcepath E:\codeql\CodeQLpy\out\decode\classes -encoding UTF-8 -8 -warn:none -proceedOnError -noExit @E:\codeql\CodeQLpy\out\decode/file.txt
Finalizing database at E:\codeql\CodeQLpy\out\database\webroot.
CodeQL detected code written in Java but could not process any of it. This can occur if the specified build commands failed to compile or process any code.
- Confirm that there is some source code for the specified language in the project.
- For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
- For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.