org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ultra-config' defined in file [C:\src\test\resources\conf\ultra-root.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL

Stack Overflow | TheCoder | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rp . Or join the community to write better ones.
  1. 0

    NoSuchFieldError: NULL Spring Error

    Stack Overflow | 3 years ago | TheCoder
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ultra-config' defined in file [C:\src\test\resources\conf\ultra-root.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL
  2. 0
    samebug tip
    You need to deploy aspectJ (aspectjweaver.jar) together with your application. Add it to your pom.xml
  3. 0
    samebug tip
    Mixed JpaTransactionManager with JTA transaction type in the beans.xml and persistence.xml
    via spring.io
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Typo in the name of the bean in the beans.xml
    via spring.io
  6. 0
    samebug tip
    Upgrade to Confluence 3.5.5 or install the patch as explained in the details.

  1. linxiaolong 1 times, last 2 months ago
  2. batwalrus76 1 times, last 5 months ago
  3. qavid 2 times, last 9 months ago
  4. mortalman7 8 times, last 9 months ago
  5. rlovtangen 1 times, last 10 months ago
1 more registered users
20 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 'ultra-config' defined in file [C:\src\test\resources\conf\ultra-root.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean()
  2. Spring Beans
    AbstractAutowireCapableBeanFactory.doCreateBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
    1 frame