Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory

 
Mark Kafe
Ranch Hand
Posts: 60
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I faced this problem from last some days, unable to resolved this issue, please help me guys.............

[Servlet Error]-[]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'offerController' defined in ServletContext resource : Cannot resolve reference to bean 'txProxyOnOfferManager' while setting bean property 'offerBusinessManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txProxyOnOfferManager' defined in ServletContext resource : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txProxyOnOfferManager' defined in ServletContext resource : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:130)
at org.springframework.aop.framework.ProxyConfig.<init>(ProxyConfig.java:72)
at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.<init>(TransactionProxyFactoryBean.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:171)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
 
Junilu Lacar
Bartender
Posts: 7466
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

So what have you done so far to try to resolve it? Helps if you've already done some of the legwork. I would start from the simplest thing that could possibly go wrong: maybe the bean definition has a typo? Like the class name? Check to see if it's good. Next check if there are multiple configuration files that you are expecting to be read in by Spring. Did you miss telling Spring about one maybe? But you may have already checked these and if so, you just made me type all this in for nothin'... like we would know right?

So like I said before, what have you done lately?
 
Mark Kafe
Ranch Hand
Posts: 60
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Junilu,
Thanks for you reply, actually i upgrade WebsphareRAD6 to RAD7 and WebSphere Server6.0 to WebSphere Server 6.1, i not changed any lib, spring and all other libs are same i not change any lib, aopalliance.jar,cglib-full-2.0.2.jar,hibernate2.jar these libs i used. i not understand wht is the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic