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. ,

    you can change your scala version to 2.11.11

Solutions on the web

via Stack Overflow by maha lakshmi
, 1 year ago
Error creating bean with name 'routingFilter' defined in file [C:\Users\apptivo\Music\Gunify\Gunify-git\gunify-ext-services\gunify-ext-services\target\classes\com\vonage\gunify\extservices\filter\RoutingFilter.class]: Instantiation of bean failed
via GitHub by maxromanovsky
, 2 years ago
Error creating bean with name 'receiver' defined in file [/Users/max/Documents/projects/ioctest/target/classes/com/example/Receiver.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException
via Stack Overflow by Max Romanovsky
, 2 years ago
Error creating bean with name 'locationReceiver' defined in file [<path>/projects/location/location-microservice/target/classes/<xxx>/location/microservice/stream/LocationReceiver.class]: Instantiation of bean failed; nested exception is
via GitHub by vincaslt
, 11 months ago
/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate
via Stack Overflow by Charles Bryant
, 2 years ago
Error creating bean with name 'cascadeListRepository' defined in URL [jar:file:/Users/charlesbryant/projects/java/spring/cb-ping-service/build/libs/cb-ping-service-0.1.0.jar!/ping/repositories/CascadeListRepository.class]: Instantiation of bean
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'routingFilter' defined in file [C:\Users\apptivo\Music\Gunify\Gunify-git\gunify-ext-services\gunify-ext-services\target\classes\com\vonage\gunify\extservices\filter\RoutingFilter.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vonage.gunify.extservices.filter.RoutingFilter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE] at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE] at com.vonage.gunify.extservices.ExtensionServices.main(ExtensionServices.java:17)[classes/:?]Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vonage.gunify.extservices.filter.RoutingFilter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] ... 17 moreCaused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup at com.netflix.config.ConfigurationManager.createDefaultConfigInstance(ConfigurationManager.java:138)[archaius-core-0.7.4.jar:0.7.4] at com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:161)[archaius-core-0.7.4.jar:0.7.4] at com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:176)[archaius-core-0.7.4.jar:0.7.4] at com.netflix.config.ConfigurationBasedDeploymentContext.<init>(ConfigurationBasedDeploymentContext.java:108)[archaius-core-0.7.4.jar:0.7.4] at com.netflix.config.ConfigurationManager.<init>(ConfigurationManager.java:104)[archaius-core-0.7.4.jar:0.7.4] at com.netflix.config.DynamicPropertyFactory.getInstance(DynamicPropertyFactory.java:277)[archaius-core-0.7.4.jar:0.7.4] at com.netflix.zuul.ZuulFilter.<init>(ZuulFilter.java:54)[zuul-core-1.1.0.jar:1.1.0] at com.vonage.gunify.extservices.filter.AbstractZuulFilter.<init>(AbstractZuulFilter.java:11)[classes/:?] at com.vonage.gunify.extservices.filter.RoutingFilter.<init>(RoutingFilter.java:6)[classes/:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_102] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_102] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_102] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_102] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE] ... 19 moreCaused by: java.lang.ClassNotFoundException: org.apache.commons.lang.text.StrLookup at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[?:1.8.0_102] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[?:1.8.0_102] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[?:1.8.0_102] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[?:1.8.0_102] ... 33 more