Closed danilansible closed 2 years ago
@danilansible Install maven and use mvn install -Pnative
on /usr/local/CVE-2021-44228-Scanner
.
log4j-core-2.17.1.jar is test resource file. That is log4j2 file.
@xeraph Thanks for the guidance, I overlooked the maven part, the build went fine!
@danilansible Glad to hear that! :D
Hi ,
I'm new to this, following the wiki for building native image on linux. glibc,graalvm and path steps are done getting this error, are there any other prerequisites and is there a recommendation from which source directory to run this?
# native-image --static -jar /usr/local/CVE-2021-44228-Scanner/src/test/resources/log4j2-ok/log4j-core-2.17.1.jar log4j2-scan -H:-CheckToolchain -H:+AllowIncompleteClasspath -H:ReflectionConfigurationFiles=/usr/local/CVE-2021-44228-Scanner/src/main/resources/META-INF/native-image/com.logpresso/log4j2-scanner/reflection-config.json
Error: No main manifest attribute, in /usr/local/CVE-2021-44228-Scanner/src/test/resources/log4j2-ok/log4j-core-2.17.1.jar
thank you