org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogController' defined in file [/Users/tshibley/PS/spog/spog/target/classes/com/company/controller/AuditLogController.class]: Post-processing failed of bean type [class com.company.controller.AuditLogController] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [com.company.controller.AuditLogController] for resource metadata: could not find class that it depends on

  1. 0

    Error Creating Bean in Spring, dependency is declared in pom, spring cannot find class

    Stack Overflow | 3 months ago | Trevor Shibley
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogController' defined in file [/Users/tshibley/spog/spog/target/classes/com/company/controller/AuditLogController.class]: Post-processing failed of bean type [class com.company.controller.AuditLogController] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [com.company.controller.AuditLogController] for resource metadata: could not find class that it depends on at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:940)
  2. 0

    JAVA Spring MVC - HTTP status 404 - RequestMapping isn't working

    Stack Overflow | 1 year ago | Maciek
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kotyController' defined in file [C:\Users\Maciej\Java\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\kotki-webapp\WEB-INF\classes\controllers\KotyController.class]: Post-processing failed of bean type [class controllers.KotyController] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [controllers.KotyController] for resource metadata: could not find class that it depends on
  3. 0

    Problem With Url Mapping In Spring Hibernate Wb Application - Page 2 - Java - Codecall

    codecall.net | 6 months ago
    java.lang.NoClassDefFoundError: Lorg/hibernate/cache/CacheProvider;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    spring security on login [Solved] (Spring forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.NoClassDefFoundError: Lorg/hibernate/cache/CacheProvider;
  6. 0

    jaxrs - jersey - swagger Integration issue

    GitHub | 2 years ago | eclucas
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServiciosRest]]

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

    com.company.client.EventServiceRestClient

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
    2 frames
  3. Java RT
    Class.getDeclaredFields
    1. java.lang.Class.getDeclaredFields0(Native Method)
    2. java.lang.Class.privateGetDeclaredFields(Class.java:2583)
    3. java.lang.Class.getDeclaredFields(Class.java:1916)
    3 frames
  4. Spring Core
    ReflectionUtils.doWithLocalFields
    1. org.springframework.util.ReflectionUtils.getDeclaredFields(ReflectionUtils.java:710)
    2. org.springframework.util.ReflectionUtils.doWithLocalFields(ReflectionUtils.java:652)
    2 frames
  5. Spring Context
    CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition
    1. org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.buildResourceMetadata(CommonAnnotationBeanPostProcessor.java:351)
    2. org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceMetadata(CommonAnnotationBeanPostProcessor.java:330)
    3. org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:287)
    3 frames
  6. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:935)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    8 frames
  7. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
    2 frames
  8. Spring MVC
    HttpServletBean.init
    1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
    2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:634)
    3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:682)
    4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553)
    5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
    6. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
    6 frames
  9. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:160)
    1 frame
  10. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
    2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
    3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
    4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
    5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    8 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames