org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.apache.cxf.resource.ResourceManager’ defined in class path resource [META-INF/cxf/cxf.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.unitedcoders.demo.PersonServiceImpl] for bean with name ‘personServ’ defined in class path resource [application-context.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)

united-coders.com | 2 months ago
  1. 0

    Developing a simple SOAP-webservice using Spring 3.0.1 and Apache CXF 2.2.6 - united-coders.com

    united-coders.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.apache.cxf.resource.ResourceManager’ defined in class path resource [META-INF/cxf/cxf.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.unitedcoders.demo.PersonServiceImpl] for bean with name ‘personServ’ defined in class path resource [application-context.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)
  2. 0

    Developing a simple SOAP-webservice using Spring 3.0.1 and Apache CXF 2.2.6 - united-coders.com

    united-coders.com | 2 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.apache.cxf.resource.ResourceManager’ defined in class path resource [META-INF/cxf/cxf.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.unitedcoders.demo.PersonServiceImpl] for bean with name ‘personServ’ defined in class path resource [application-context.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)
  3. 0

    ClassNotFoundException:class is already configured

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.bwits.clinedge.global.dao.BaseDAO] for bean with name 'baseDao' defined in ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.bwits.clinedge.global.dao.BaseDAO
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFoundException even when the class is available

    Stack Overflow | 1 year ago | Antariksh
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.exclusively.oms.service.OrderServiceIml] for bean with name 'dataServices' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.exclusively.oms.service.OrderServiceIml

  1. kid 21 times, last 8 months ago
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.CannotLoadBeanClassException

    Error loading class [com.unitedcoders.demo.PersonServiceImpl] for bean with name ‘personServ’ defined in class path resource [application-context.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)

    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass()
  2. Spring Beans
    DefaultListableBeanFactory.getBeansOfType
    1. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1211)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:570)
    3. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1277)
    4. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:303)
    5. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:382)
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:376)
    6 frames
  3. Spring Context
    AbstractApplicationContext.getBeansOfType
    1. org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1109)
    1 frame
  4. Apache CXF Core
    Jsr250BeanPostProcessor.postProcessAfterInitialization
    1. org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessAfterInitialization(Jsr250BeanPostProcessor.java:76)
    1 frame
  5. Spring Beans
    AbstractAutowireCapableBeanFactory.doCreateBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:404)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
    3 frames