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

Coderanch | Vijay Kumar | 5 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    You need to deploy aspectJ (aspectjweaver.jar) together with your application. Add it to your pom.xml
  2. 0

    Spring AOP issue

    Coderanch | 5 years ago | Vijay Kumar
    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
  3. 0

    Erro ao executar projeto vraptor+maven - Javafree: O fórum de Java que mais cresce

    com.br | 1 year ago
    org.springframework.beans.factory.support.AbstractBeanFactoryorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'VRaptorRequestProvider': BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/lang/annotation/Aspect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring MVC and Spring Task Configuration Exception

    Stack Overflow | 3 years ago | Jaffar Ramay
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalAsyncAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/Ordered
  6. 0
    samebug tip
    Typo in the name of the bean in the beans.xml
    via spring.io

  1. treefolk 1 times, last 2 months ago
  2. kjhdofjosvs 3 times, last 4 months ago
  3. Tahir 6 times, last 5 months ago
  4. asdasd 4 times, last 5 months ago
  5. tvrmsmith 4 times, last 6 months ago
13 more registered users
82 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean()
  2. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    5 frames