org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class \[com.zadmobile.openl.TemplateJavaWrapper\] for bean with name 'templateJavaWrapper' defined in class path resource \[beans.xml\]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/openl/main/OpenLWrapper


Solutions on the web401

Solution icon of sourceforge
Error loading class \[com.zadmobile.openl.TemplateJavaWrapper\] for bean with name 'templateJavaWrapper' defined in class path resource \[beans.xml\]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/openl/main/OpenLWrapper

Solution icon of stackoverflow
via Stack Overflow by user705414
, 1 year ago
Error loading class [org.springframework.scheduling.quartz.JobDetailBean] for bean with name 'job' defined in class path resource [beans.xml]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class

Solution icon of web
via oschina.net by Unknown author, 1 year ago
Error loading class [com.alibaba.druid.support.spring.stat.DruidStatInterceptor] for bean with name 'druid-stat-interceptor' defined in class path resource [spring-mybatis.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor

Solution icon of stackoverflow
Error loading class [commons.hibernate.TableShardAwareLocalSessionFactoryBean] for bean with name 'uidMasterV1SessionFactory' defined in class path resource [packaged/spring/v1_1/uidmaster-spring-config-true.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/orm/hibernate4/LocalSessionFactoryBean

Solution icon of googlegroups
Error loading class [org.springframework.data.neo4j.rest.SpringRestGraphDatabase] for bean with name 'graphDatabaseService' defined in class path resource [application-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/neo4j/rest/graphdb/RestGraphDatabase

Solution icon of web
Error loading class [org.springframework.orm.hibernate3.LocalSessionFactoryBean] for bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: problem with class file or dependent class; nested exception is

Solution icon of stackoverflow
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

Solution icon of stackoverflow
Error loading class [org.springframework.flex.core.ExceptionTranslationAdvice] for bean with name 'org.springframework.flex.core.ExceptionTranslationAdvice#0' defined in null: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice

Solution icon of web
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

Solution icon of web
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

Stack trace

org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class \[com.zadmobile.openl.TemplateJavaWrapper\] for bean with name 'templateJavaWrapper' defined in class path resource \[beans.xml\]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/openl/main/OpenLWrapper
	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1163)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:581)
	at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1364)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:406)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:66)
	at com.zadmobile.zas.ZasStarterImpl.initService(ZasStarter.java:151)
	at com.zadmobile.zas.ZasStarterImpl.start(ZasStarter.java:67)
	at com.zadmobile.zas.ZasStarter.init(ZasStarter.java:42)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates