aspose file tools
The moose likes Spring and the fly likes error while doing aspect oriented spring 3.0 program Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic
Author

error while doing aspect oriented spring 3.0 program

avneesh atri
Greenhorn

Joined: Jul 18, 2011
Posts: 18
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eddie' defined in class path resource [spring-idol-introductions.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJMethodBeforeAdvice] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJExpressionPointcut] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/BCException


please help
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17233
    
    1

Same reason, you are missing the aspectj jars in your classpath. See Sam's post in your other thread.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: error while doing aspect oriented spring 3.0 program
 
Similar Threads
java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception
Struts 2 + Spring 2 + JPA + AJAX
JBoss 5 javax.naming.NameNotFoundException: persistence not bound
Where is org. springframework. orm.jpa.vendor. TopLinkJpaVendorAdapter?
Spring AOP issue