Announcement Announcement Module
Collapse
No announcement yet.
Dependency problem for AOP Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dependency problem for AOP

    Hi,

    I'm trying to implement AOP in my application. On deployment I'm getting this error:
    Code:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgAddressCtrl': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type
    I have Type class in my class path:
    org.springframework.asm.Type

    Why it still trying to look for org/objectweb/asm/Type?
    What can be the solution?

  • #2
    Well because they are different obviously. There is a dependency on asm so you will need to include that on your classpath.

    Comment


    • #3
      I pulled these out of the spring-2.5.6.SEC01 package under /lib/asm.

      Comment


      • #4
        Originally posted by Marten Deinum View Post
        Well because they are different obviously. There is a dependency on asm so you will need to include that on your classpath.
        Where can I find this package?

        Comment


        • #5
          Is it this one?
          http://forge.ow2.org/project/showfil...elease_id=3334

          Comment


          • #6
            You can use the zip file from my previous post, or grab them from the /lib/asm folder in the Spring 2.5.6.SEC01 package: http://www.springsource.com/download/community

            Comment


            • #7
              Originally posted by jamestastic View Post
              You can use the zip file from my previous post, or grab them from the /lib/asm folder in the Spring 2.5.6.SEC01 package: http://www.springsource.com/download/community
              I have downloaded from the link I provided in my post and it works perfect.

              Thanks.

              Comment

              Working...
              X