| Author |
Problem with classloader with jaxb, spring, websphere
|
Iii Aaa
Greenhorn
Joined: Aug 17, 2011
Posts: 3
|
|
Hi,
I'm having some troubles. Maybe someone can give me a hint how to solve these problems.
I'm using the spring framework with in which the jaxb2marshaller is used. I added another project that uses jaxb. Because of some issues I had to change the classloader policy to prefer the local classloader. Now I'm getting exceptions. How can I approach this?
|
 |
Roberto Perillo
Bartender
Joined: Dec 28, 2007
Posts: 2212
|
|
Hey, champ!
How are you defining this "jaxb2marshaller" bean in your spring-config.xml file?
|
Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
|
 |
Iii Aaa
Greenhorn
Joined: Aug 17, 2011
Posts: 3
|
|
hey roberto,
the bean is defined like this:
it worked just fine, but after adding this other project I started having problems. this project is also in need of jaxb and comes with its own "jaxb-impl.jar".
|
 |
 |
|
|
subject: Problem with classloader with jaxb, spring, websphere
|
|
|