[EMAIL PROTECTED] wrote:
> JAXB init fails because its
> ResourceBundle.getBundle("com.sun.xml.bind.Message")
> fails with a java.util.MissingResourceException
> I tried a
> System.out.println("resource is: " +
this.getClass().getClassLoader().getResource("com/sun/xml/bind/Message
.properties"));
> wich works.
ResourceBundle.getBundle(...) plays games on the stack and finds the
classloader that loaded JAXB, which is not the same as the classloader for
your matcher. If you were to call:
ResourceBundle.getBundle("com.sun.xml.bind.Message",
this.getClass().getClassLoader());
I suspect it would work.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]