Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with classloader with jaxb, spring, websphere

 
Iii Aaa
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, champ!

How are you defining this "jaxb2marshaller" bean in your spring-config.xml file?
 
Iii Aaa
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic