nus-cs2113-AY1920S2 / forum

4 stars 0 forks source link

Jar has no manifest attribute #80

Closed SibingWu closed 4 years ago

SibingWu commented 4 years ago

I generated the jar file for tp via project structure -> artifacts -> JAR -> from modules with dependencies -> however, when running the jar file, terminal shows that "jar has no manifest attribute" I wonder how I can fix it? image

A11riseforme commented 4 years ago

gradlew shadowJar

SibingWu commented 4 years ago

gradlew shadowJar

then where can find the generated jar file?

damithc commented 4 years ago

then where can find the generated jar file?

More info in the gradle tutorial that came with your tP https://github.com/nus-cs2113-AY1920S2/tp/blob/master/tutorials/gradleTutorial.md

A11riseforme commented 4 years ago

build/libs

SibingWu commented 4 years ago

build/libs

Thank you, problem fixed!