[jboss-user] [Spring Integration] - Re: Application with ws client return an exception with spring

Ales Justin do-not-reply at jboss.com
Thu Sep 9 13:51:58 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: Application with ws client return an exception with spring"

To view the discussion, visit: http://community.jboss.org/message/561032#561032

--------------------------------------------------------------
Caused by: java.lang.ClassNotFoundException:  org.springframework.beans.BeansException from  BaseClassLoader at 1069693{vfs:///C:/Desarrollo/jboss-6.0.0.201  00721-M4/server/default/conf/jboss-service.xml}

This is the classloader that gets used, and it obviously cannot find the Spring class.
Where do you have your spring.jar placed?
Inside app won't do, or you need to use different classloader --> app's CL.
Placing it into server/<config>/lib or common/lib would work as well, but then it's shared with all apps.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/561032#561032]

Start a new discussion in Spring Integration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100909/33ccad1f/attachment.html 


More information about the jboss-user mailing list