add conditional breakpoint at
java.util.zip.ZipFile.ZipFile(File, int, Charset)
jzfile = open(name, mode, file.lastModified(), usemmap);
System.out.println(arg0);
return false
/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/vue-metadata-services-admin/WEB-INF/lib/spring-boot-1.5.0.BUILD-SNAPSHOT.jar
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid CEN header (bad signature)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:96)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:220)
at java.util.zip.ZipFile.<init>(ZipFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:88)
... 13 more
http://stackoverflow.com/questions/7959499/force-re-download-of-release-dependency-using-maven
-U means force update of dependencies.
You cannot make Maven re-download dependencies, but what you can do instead is to purge dependencies that were incorrectly downloaded using mvn dependency:purge-local-repository.
See: http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html
http://stackoverflow.com/questions/22536279/java-util-zip-ziperror-invalid-cen-header-bad-signature
There are two possible explanations:
You have a corrupted ZIP file - Compile error in maven2: "invalid CEN header (bad signature)"
It is something to do with ZIP-64:
java.util.zip.ZipException: invalid CEN header (bad signature)
But also note that ZIP-64 support was apparently only added in 1.7.0_b55 ... https://blogs.oracle.com/xuemingshen/entry/zip64_support_for_4g_zipfile
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub (no security manager: RMI class loader disabled)
http://stackoverflow.com/questions/8987883/rmi-classnotfoundexception
RMI does not require a security manager to run at all. It requires a security manager if and only if you want to use the codebase feature
A codebase can be defined as a source, or a place, from which to load classes into a Java virtual machine
The codebase feature refers to the system property java.rmi.server.codebase. If you make the remote interface class and its closure available to the client in its CLASSPATH, and to the Registry, you don't have to use the codebase feature
http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/javarmiproperties.html
http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/enhancements-7.html
Running a system with the java.rmi.server.useCodebaseOnly property set to false is not recommended, as it may allow the loading and execution of untrusted code.
the RMI property java.rmi.server.useCodebaseOnly is set to true by default. In earlier releases, the default value was false.
http://stackoverflow.com/questions/3629568/rmi-server-exception
6.1 If you encounter a problem running your RMI server
The first problem you might encounter is the receipt of a ClassNotFoundException when attempting to bind or rebind a remote object to a name in the registry. This exception is usually due to a malformed codebase property, resulting in the registry not being able to locate the remote object's stubs or other classes needed by the stub.
It is important to note that the remote object's stub implements all the same interfaces as the remote object itself, so those interfaces, as well as any other custom classes declared as method parameters or return values, must also be available for download from the specified codebase.
Most frequently, this exception is thrown as a result of omitting the trailing slash from the URL value of the property. Other reasons would include: the value of the property is not a URL; the path to the classes specified in the URL is incorrect or misspelled; the stub class or any other necessary classes are not all available from the specified URL.
http://www.quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigRMI.html
Some users experience problems with class availability (namely Job classes) between the client and server. To work through these problems you'll need an understanding of RMI's "codebase" and RMI security managers. You may find these resources to be useful:
An excellent description of RMI and codebase: http://www.kedwards.com/jini/codebase.html . One of the important points is to realize that “codebase” is used by the client!
http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/hello/hello-world.html
http://archive.oreilly.com/pub/a/java/archive/quartz.html?page=4