grails-samples / grails-petclinic

The introductory sample application for Grails
68 stars 93 forks source link

grailsw run-app fails (ZipException) #6

Closed shizuka42 closed 10 years ago

shizuka42 commented 10 years ago

I download the application from the Sample Application link on http://grails.org/learn. I unpack the zip file and run "grailsw run-app" but I have this error : Exception in thread "main" java.util.zip.ZipException: zip file is empty at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:215) at java.util.zip.ZipFile.(ZipFile.java:145) at java.util.zip.ZipFile.(ZipFile.java:159) at org.grails.wrapper.GrailsWrapper.extract(GrailsWrapper.java:147) at org.grails.wrapper.GrailsWrapper.configureGrailsInstallation(GrailsWr apper.java:138) at org.grails.wrapper.GrailsWrapper.main(GrailsWrapper.java:58)

What can I do ?

Thanks for your help.

jeffscottbrown commented 10 years ago

I just downloaded that zip and ran it and it worked fine. Try deleting the .grails/ directory in your home directory. If that doesn't work, please take the question to the mailing list.