org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

mkyong.com | 6 months 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

    java.lang.ClassNotFoundException : org.slf4j.impl.StaticLoggerBinder

    mkyong.com | 6 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
  2. 0

    java.lang.ClassNotFoundException : org.slf4j.impl.StaticLoggerBinder

    mkyong.com | 2 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
  3. 0

    Deploy project without /WEB-INF/lib by placing libs in Tomcat's common.loader

    Stack Overflow | 4 years ago | Igor Bobko
    java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper with Red5

    Stack Overflow | 4 years ago | ufk
    java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
  6. 0

    After upgrade, tests pass in Eclipse, fail in Maven, Spring throws BeanCreationException / NoClassDefFoundError $proxy10

    Stack Overflow | 3 years ago | Adam
    java.lang.NoClassDefFoundError: Could not initialize class $Proxy10

    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

      org/slf4j/LoggerFactory

      at org.apache.tiles.startup.AbstractTilesInitializer.<init>()
    2. Tiles - Core Library
      BasicTilesInitializer.<init>
      1. org.apache.tiles.startup.AbstractTilesInitializer.<init>(AbstractTilesInitializer.java:45)
      2. org.apache.tiles.startup.BasicTilesInitializer.<init>(BasicTilesInitializer.java:37)
      2 frames
    3. Spring MVC
      TilesConfigurer.afterPropertiesSet
      1. org.springframework.web.servlet.view.tiles2.TilesConfigurer$SpringTilesInitializer.<init>(TilesConfigurer.java:391)
      2. org.springframework.web.servlet.view.tiles2.TilesConfigurer$SpringTilesInitializer.<init>(TilesConfigurer.java:391)
      3. org.springframework.web.servlet.view.tiles2.TilesConfigurer.createTilesInitializer(TilesConfigurer.java:372)
      4. org.springframework.web.servlet.view.tiles2.TilesConfigurer.afterPropertiesSet(TilesConfigurer.java:337)
      4 frames
    4. Spring Beans
      AbstractAutowireCapableBeanFactory.initializeBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
      2 frames