org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [cn.edu.hzu.cas.web.DepartmentAction] for bean with name 'departmentAction' defined in file [D:\Tool\tomcat\tomcat-6.0.29\webapps\cas\WEB-INF\classes\applicationContext-service.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/xwork2/ActionSupport

csdn.net | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Standalone Spring app ( jar) conflicting with other web apps on weblogic 10

    Stack Overflow | 4 years ago | Sammy
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.validation.beanvalidation.LocalValidatorFactoryBean] for bean with name 'jsr303Validator' defined in ServletContext resource [/WEB-INF/config/webmvc-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: javax/validation/ValidatorFactory
  2. 0

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

    united-coders.com | 1 year 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

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

    united-coders.com | 5 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HDFVR not working in Red5 1.0 Final - General Discussions - NuSoft Forum

    nusofthq.com | 2 years ago
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'web.context' defined in ServletContext resource [/WEB-INF/red5-web.xml]: Unsatisfied dependency expressed through bean property 'clientRegistry': : Cannot find class [org.red5.server.WebScope] for bean with name 'web.scope' defined in ServletContext resource [/WEB-INF/red5-web.xml]; nested exception is java.lang.ClassNotFoundException: org.red5.server.WebScope; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.red5.server.WebScope] for bean with name 'web.scope' defined in ServletContext resource [/WEB-INF/red5-web.xml]; nested exception is java.lang.ClassNotFoundException: org.red5.server.WebScope
  6. 0

    NoClassDefFoundError in Websphere -- JARs are present

    Stack Overflow | 6 years ago | sigint
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.ldap.core.support.LdapContextSource] for bean with name 'contextSource' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org.springframework.beans.factory.InitializingBean

  1. treefolk 2 times, last 4 weeks ago
  2. Tahir 2 times, last 4 months ago
  3. Piz 2027 times, last 6 months ago
  4. jedcua 1 times, last 7 months ago
  5. esaar 3 times, last 7 months ago
5 more registered users
90 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. java.lang.ClassNotFoundException

    com.opensymphony.xwork2.ActionSupport

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
    2 frames