here is the message that I get from NB...
SEVERE [org.openide.util.Exceptions]
msg
Caused: java.lang.IllegalArgumentException: Duplicate entries in
/export/home/vkraemer/GlassFish_v3/glassfish/modules/jaxb-osgi.jar:
com/sun/xml/bind/unmarshaller/Patcher.class
[catch] at
org.openide.filesystems.JarFileSystem.parse(JarFileSystem.java:801)
at
org.openide.filesystems.JarFileSystem.getCache(JarFileSystem.java:727)
(and oh so much more)
I started to dig into jaxb-osgi.jar and discovered something...
There are duplicate files in the jar. The jar has 4128 files total.
There are 4111 uniq files in the jar...
One of the dups is com/sun/xml/bind/unmarshaller/Patcher.class... just
like NB said (in its oh so round-about way)
I also noticed a number of files (over 1000) of the form...
1.0/com/sun/xml/...
1.0/com/sun/...
1.0/org/apache/xml/...
I think there is a bug in both sides of this...
1. netbeans should not be so fussy about duplicate files in a jar.
2. the jaxb-osgi.jar file should be cleaned up... (if possible)...
the dups are probably easy to fix...
the funky 1.0 package may actually serve a purpose... it just looks
silly....