Menu

Bug in Spring RC1.1 distribution??

Anonymous
2004-08-05
2004-08-05
  • Anonymous

    Anonymous - 2004-08-05

    Hello,
    I recently downloaded spring rc 1.1 . We are using spring + ejb on JBoss. I replaced the spring jars ( all jars form dist folder ) in jboss. But when i deploy my application and run it gives following error.

    Error registering bean with name 'transactionManager' defined in class path resource [applicationContext-hibernate.xml]: Class that bean class [org.springframework.orm.hibernate.HibernateTransactionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/AspectException

    And when i put aopalliance.jar in my jboss lib it works fine. It means that aopalliance.jar is missing from ditribution. Please fix this.

    Regards,
    Shoaib Akhtar

     
    • Juergen Hoeller

      Juergen Hoeller - 2004-08-05

      aopallliance.jar can be found in lib/aopalliance, in the spring-framework-1.1-rc1-with-dependencies download. It's *not* part of spring.jar, as it is a separate project which we simply include the prebuilt jar file from.

      BTW, regarding jars in dist directory: Note that those files are overlapping, i.e. take either the full spring.jar *or* an appropriate combination of spring-xxx.jar files. Else, you'd effectively have everything twice in your classpath.

      Juergen

       
    • Anonymous

      Anonymous - 2004-08-05

      Hello,
      Thanks Juergen for your reply. Actualliy i wondered why it was working before as in Spring 1 i have not placed aopalliance.jar in jboss lib folder.

      Regrads,
      Shoaib Akhtar

       

Log in to post a comment.

MongoDB Logo MongoDB