4 Replies Latest reply on Oct 2, 2007 4:26 AM by Ales Justin

    JBoss 4.2.0_GA + Spring 2.0.5 integration

    Guillermo Castro Newbie


      I'm trying to use the jboss+spring integration package (2.0) on a JBoss 4.2.0 GA release for a spring-based message-driven bean component that I wrote using Spring 2.0.5 (mostly the jdbc/dao parts). I have deployed the jboss-spring-jdk5.deployer to the deploy directory and added the spring libraries. However, when I try to run my bean it gives me this error:

      java.lang.NoClassDefFoundError: org/springframework/beans/factory/xml/DefaultBeanDefinitionDocumentReader

      I'm sure the spring-beans.jar is in the deployed directory, and I think I'm not missing any dependencies.

      Can someone tell me what do I need to make this deployer work? it's too late now to try to take Spring away from my code and I really want to use spring with jboss.