Error: Invalid or corrupt jarfile SpringBreakCve20178046.java
Closed this issue · 4 comments
vladmolch commented
Guys,
I am getting "Error: Invalid or corrupt jarfile SpringBreakCve20178046.java" on both Win and Nix
Any thoughts?
Vlad
spbdimka commented
You need to compile java to jar file
javac -d ./build *.java
but this project created for Maven - you can simply do
mvn compile && mvn package
in root directory of project and get your jar in target dir
vladmolch commented
Duh....
Lol thx :)
…--Vlad
On Mar 17, 2018, at 8:26 AM, Dmitry ***@***.***> wrote:
You need to compile java to jar file
javac -d ./build *.java
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
m3ssap0 commented
I've just refactored the pom.xml to generate an all-in-one JAR with dependencies via package functionality.
I described a couple of processes to obtain a runnable JAR into README file.
g0rx commented
vladmolch