JBoss Community

Re: Application with ws client return an exception with spring

created by Ales Justin in Spring Integration - View the full discussion

Caused by: java.lang.ClassNotFoundException:  org.springframework.beans.BeansException from  BaseClassLoader@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

Start a new discussion in Spring Integration at Community