org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerConfig' defined in ServletContext resource \[/WEB-INF/tradeweb-servlet.xml\]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: freemarker.cache.TemplateLoader

freemarker | nobody | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    FreeMarker class not found issue in WS on AIX

    freemarker | 8 years ago | nobody
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerConfig' defined in ServletContext resource \[/WEB-INF/tradeweb-servlet.xml\]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: freemarker.cache.TemplateLoader
  2. 0

    ServiceMix - Dev - [jira] Commented: (SM-1065) ActiveMQ integration

    nabble.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activemqBroker' defined in OSGi res[/META-INF/spring/servicemix-activemq.xml|id=21|symName=org.apache.servicemix.activemq]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError
  3. 0

    PowerMockito and Final Methods

    Google Groups | 8 years ago | sohr...@googlemail.com
    java.lang.NoClassDefFoundError: javassist/expr/ExprEditor at > org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.createNewClassloader > (AbstractTestSuiteChunkerImpl.java:172) at > org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.chunkClass > (AbstractTestSuiteChunkerImpl.java:137) at org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.<init> > (AbstractTestSuiteChunkerImpl.java:99) at org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.<init> > (AbstractTestSuiteChunkerImpl.java:92) at > org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init> > (JUnit4TestSuiteChunkerImpl.java:57) at > org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init> > (AbstractCommonPowerMockRunner.java:34) at org.powermock.modules.junit4.PowerMockRunner.<init> > (PowerMockRunner.java:24) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance > (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance > (DelegatingConstructorAccessorImpl.java:27)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HibernatePersistence class not found exception with JPA + Hibernate + OSGI

    Stack Overflow | 2 years ago | user1926519
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#53308cd' defined in OSGi resource[classpath:/spring/gdl-commons-db-jpa-context.xml|bnd.id=177|bnd.sym=gdl-open-domain]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence
  6. 0

    How to configure spring commonj workManager in webSphere liberty profile server 8.5

    Stack Overflow | 2 years ago | user3767688
    java.lang.NoClassDefFoundError: commonj/work/WorkException

  1. raytest 215 times, last 1 week ago
  2. treefolk 2 times, last 3 months ago
  3. Reich 24 times, last 4 months ago
  4. MoYapro 30 times, last 5 months ago
  5. tfr 3 times, last 10 months ago
1 more registered users
22 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.NoClassDefFoundError

    freemarker.cache.TemplateLoader

    at java.lang.J9VMInternals.verifyImpl()
  2. Java RT
    Constructor.newInstance
    1. java.lang.J9VMInternals.verifyImpl(Native Method)
    2. java.lang.J9VMInternals.verify(J9VMInternals.java:59)
    3. java.lang.J9VMInternals.verify(J9VMInternals.java:57)
    4. java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
    5. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    6. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
    7. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    8. java.lang.reflect.Constructor.newInstance(Constructor.java:521)
    8 frames
  3. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:84)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:875)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:837)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    6 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(AccessController.java:214)
    1 frame
  5. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    7 frames
  6. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
    2 frames
  7. Spring MVC
    HttpServletBean.init
    1. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
    2. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
    3. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
    4. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
    4 frames
  8. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
    1 frame
  9. WebSphere
    ServletWrapper.init
    1. com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:199)
    1 frame
  10. com.ibm.ws
    ServletWrapper.init
    1. com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:319)
    1 frame
  11. WebSphere
    ServletWrapper.handleRequest
    1. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:393)
    1 frame
  12. com.ibm.ws
    ServletWrapper.handleRequest
    1. com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    1 frame
  13. WebSphere
    WebContainer.handleRequest
    1. com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
    2. com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
    3. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    3 frames
  14. com.ibm.ws
    WCChannelLink.ready
    1. com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
    2. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
    2 frames
  15. WebSphere
    AioReadCompletionListener.futureCompleted
    1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
    2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
    3. com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    4. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    4 frames
  16. com.ibm.io
    ResultHandler$2.run
    1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    6 frames
  17. com.ibm.ws
    ThreadPool$Worker.run
    1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    1 frame