Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,
    via netty.io by Unknown author

    Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

Solutions on the web

via GitHub by debabratp
, 1 year ago
Error creating bean with name 'restTemplateBuilder' defined in class path resource [org/springframework/boot/autoconfigure/web/WebClientAutoConfiguration$RestTemplateConfiguration.class]: Post-processing failed of bean type [class
via Stack Overflow by Matheus208
, 1 year ago
org.springframework.cloud.netflix.feign.ribbon.FeignRibbonClientAutoConfiguration$OkHttpConfiguration$$EnhancerBySpringCGLIB$$3ecc7446] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.cloud.netflix.feign.ribbon.FeignRibbonClientAutoConfiguration$OkHttpConfiguration$$EnhancerBySpringCGLIB$$3ecc7446] for persistence metadata: could not find class that it depends on
via Stack Overflow by mateusz
, 2 years ago
$$EnhancerBySpringCGLIB$$8d313133] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [com.nutrilizer.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$8d313133] for resource metadata: could not find class that it depends on
via blogspot.com by Unknown author, 2 years ago
$$EnhancerBySpringCGLIB$$8d313133] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [com.nutrilizer.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$8d313133] for resource metadata: could not find class that it depends on
via GitHub by snicoll
, 2 years ago
type [class org.springframework.boot.actuate.cache.GuavaCacheStatisticsProvider] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.boot.actuate.cache.GuavaCacheStatisticsProvider] for persistence metadata: could not find class that it depends on
via Stack Overflow by FreshlyOrc
, 2 years ago
Error creating bean with name 'chapstick' defined in file [/base/data/home/apps/s~freshlyorc/1.00/WEB-INF/classes/com/freshlyorc/datamodelbeans/Chapstick.class]: Post-processing failed of bean type [class com.freshlyorc.datamodelbeans.Chapstick] failed; nested exception is com.google.apphosting.api.DeadlineExceededException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restTemplateBuilder' defined in class path resource [org/springframework/boot/autoconfigure/web/WebClientAutoConfiguration$RestTemplateConfiguration.class]: Post-processing failed of bean type [class org.springframework.boot.web.client.RestTemplateBuilder] failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.boot.web.client.RestTemplateBuilder] for resource metadata: could not find class that it depends on at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:940)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)[spring-context-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)[spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176)[spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT] at com.springboot.tutorial.App.main(App.java:23)[classes/:na]Caused by: java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.boot.web.client.RestTemplateBuilder] for resource metadata: could not find class that it depends on at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceMetadata(CommonAnnotationBeanPostProcessor.java:344)[spring-context-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:297)[spring-context-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:935)[spring-beans-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] ... 15 moreCaused by: java.lang.NoClassDefFoundError: Lorg/springframework/http/client/BasicAuthorizationInterceptor; at java.lang.Class.getDeclaredFields0(Native Method)[na:1.8.0_73] at java.lang.Class.privateGetDeclaredFields(Class.java:2583)[na:1.8.0_73] at java.lang.Class.getDeclaredFields(Class.java:1916)[na:1.8.0_73] at org.springframework.util.ReflectionUtils.getDeclaredFields(ReflectionUtils.java:713)[spring-core-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.util.ReflectionUtils.doWithLocalFields(ReflectionUtils.java:655)[spring-core-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.buildResourceMetadata(CommonAnnotationBeanPostProcessor.java:361)[spring-context-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceMetadata(CommonAnnotationBeanPostProcessor.java:340)[spring-context-4.3.1.BUILD-SNAPSHOT.jar:4.3.1.BUILD-SNAPSHOT] ... 17 moreCaused by: java.lang.ClassNotFoundException: org.springframework.http.client.BasicAuthorizationInterceptor at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[na:1.8.0_73] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_73] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[na:1.8.0_73] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_73] ... 24 more