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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to add openl class to my exist project?
    via openl-tablets by lgperson
    ,
  • Class not found using javaConfig
    via Stack Overflow by Vimal Basdeo
    ,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    9 more bugmates