Closed alishahaan closed 4 years ago
Hi,
Thanks for reaching out.
java -jar imperva-api-attack-tool.jar
, what does this command output?I have tried these steps on windows cmd step 1 : gradlew build --warning-mode=all result= BUILD SUCCESSFUL step 2 : cd build/libs step2 generates a zip file in libs folder named as: "automatic-api-attack-tool-master.jar" step3 : java-jar automatic-api-attack-tool-master.jar Error: Could not find or load main class com.imperva.apiattacktool.ToolMain Caused by: java.lang.ClassNotFoundException: com.imperva.apiattacktool.ToolMain
Hi,
I am not sure what you are running here exactly since the outputted jar file name convention is not by what has been defined in build.gradle. Have you changed the file? Which Gradle version are you using?
Thanks!
@alishahaan you haven't responded. My guessing is that you've found the issue?
I got an error while running this command
Error: Could not find or load main class com.imperva.apiattacktool.ToolMain Caused by: java.lang.ClassNotFoundException: com.imperva.apiattacktool.ToolMain