Having the really same code (Grails 2.2.4 application) I receive error while building the app using grails war
command. It was fine while ago but now I receive strange error:
| Error Compilation error: startup failed:
Compile error during compilation with javac.
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._dnsns.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._localedata.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._sunec.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._sunjce_provider.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._sunpkcs11.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._zipfs.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._dnsns.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._localedata.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._sunec.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._sunjce_provider.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._sunpkcs11.jar; error in opening zip file
error: error reading /usr/lib/jvm/jdk1.7.0/jre/lib/ext/._zipfs.jar; error in opening zip file
12 errors
It looks like something happened with oraclejdk7
I am using in my circleci.yml. When I switched to openjdk7
the build was fine.
I found only these issues which might be related:
Do you know how to overcome this issue?