org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.geoserver.wps.gs.HelloWPS] for bean with name 'helloWPS' defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-7.0.33-windows-x86/apache-tomcat-7.0.33/webapps/geoserver/WEB-INF/lib/hello_wps-2.2-SNAPSHOT.jar!/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/geotools/process/gs/GSProcess

  1. 0

    HelloWPS Tutorial GeoServer

    Geographic Information Systems | 4 years ago | vermesser123
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.geoserver.wps.gs.HelloWPS] for bean with name 'helloWPS' defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-7.0.33-windows-x86/apache-tomcat-7.0.33/webapps/geoserver/WEB-INF/lib/hello_wps-2.2-SNAPSHOT.jar!/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/geotools/process/gs/GSProcess
  2. 0

    Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor]

    Stack Overflow | 2 years ago | RCola
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor] for bean with name 'persistenceExceptionTranslationPostProcessor' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor
  3. 0

    Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor] - Tech Forum Network

    techforumnetwork.com | 1 year ago
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor] for bean with name 'persistenceExceptionTranslationPostProcessor' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor] - www.scriptscoop2.com

    scriptscoop.net | 6 months ago
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor] for bean with name 'persistenceExceptionTranslationPostProcessor' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor
  6. 0

    Caused by: java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor

    Stack Overflow | 2 years ago | Viraj
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor] for bean with name 'org.springframework.context.annotation.internalAsyncAnnotationProcessor' defined in null: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor

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

    org.geotools.process.gs.GSProcess

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    2 frames
  3. Java RT
    SecureClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    3 frames
  4. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2904)
    2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
    3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
    4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
    4 frames
  5. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
    1 frame
  6. Spring Beans
    DefaultListableBeanFactory.getBeanNamesForType
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
    2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
    3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:298)
    7 frames
  7. Spring Context
    AbstractApplicationContext.getBeanNamesForType
    1. org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1150)
    1 frame
  8. Core Platform Module
    GeoServerExtensions.bean
    1. org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:110)
    2. org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:291)
    2 frames
  9. Main Module
    GeoServerLoaderProxy.setApplicationContext
    1. org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:71)
    2. org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:39)
    2 frames
  10. Spring Context
    ApplicationContextAwareProcessor.postProcessBeforeInitialization
    1. org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:117)
    2. org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:92)
    2 frames
  11. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    8 frames
  12. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
    2 frames
  13. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
    3 frames
  14. Core Platform Module
    GeoServerContextLoaderListener.contextInitialized
    1. org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
    1 frame
  15. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    7. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
    8. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
    8 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    6. java.lang.Thread.run(Thread.java:722)
    6 frames