aspose file tools
The moose likes Spring and the fly likes Problem with classloader with jaxb, spring, websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Problem with classloader with jaxb, spring, websphere" Watch "Problem with classloader with jaxb, spring, websphere" New topic
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: 2270
    
    3

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".
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Problem with classloader with jaxb, spring, websphere