loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

Error java.util.zip.ZipException: error in opening zip file while running tests #22

Closed rvargas closed 10 years ago

rvargas commented 10 years ago

Hi,

When I test my application, I am getting this error:

|Loading Grails 2.4.3
|Configuring classpath
.
|Environment set to test
.............................................
|Running without daemon...
.......................................................
|Compiling 1 source files
Error |
Unable to obtain resource from D:\Tools\sts\src\restsec\target\work\plugins\rest-api-doc-0.2\lib\LICENSE_JSONDOC.txt: 
Error |
java.util.zip.ZipException: error in opening zip file
Error |
    at java.util.zip.ZipFile.open(Native Method)
Error |
    at java.util.zip.ZipFile.<init>(ZipFile.java:215)
Error |
    at java.util.zip.ZipFile.<init>(ZipFile.java:145)
Error |
    at java.util.jar.JarFile.<init>(JarFile.java:154)
Error |
    at java.util.jar.JarFile.<init>(JarFile.java:118)
Error |
....

My tests are running fine, but this error produces a very large log every time I running them. I suppose it's the location of that license file.

loic911 commented 10 years ago

Hi, No problem for me Does the file D:\Tools\sts\src\restsec\target\work\plugins\rest-api-doc-0.2\lib\LICENSE_JSONDOC.txt exists? Can you may be try with 0.3?

rvargas commented 10 years ago

I tried with 0.3 and still have that problem, but only happened in the first test run. The file exists.

timo-klarshift commented 10 years ago

I have the same problem on every test run.

loic911 commented 10 years ago

Should be fix in 0.3.1