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

Stack Overflow | maha lakshmi | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup Exception While Running Spring Boot Application

    Stack Overflow | 4 months ago | maha lakshmi
    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
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. 0

    GitHub comment 2#175317638

    GitHub | 1 year ago | hipitihop
    java.lang.NoClassDefFoundError: clojure/lang/Tuple, compiling:(cljs/analyzer.cljc:1:1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unit test RoboSpice request using MockWebServer

    Stack Overflow | 1 year ago | Weizhi
    java.lang.NoClassDefFoundError: org/apache/http/conn/params/ConnPerRoute
  6. 0

    java.lang.NoClassDefFoundError while calling method from another class

    Stack Overflow | 7 months ago | mrjvs
    java.lang.NoClassDefFoundError: Task$1

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 2 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 3 weeks ago
68 more registered users
27 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

    org.apache.commons.lang.text.StrLookup

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)[?:1.8.0_102]
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)[?:1.8.0_102]
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[?:1.8.0_102]
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)[?:1.8.0_102]
    4 frames
  3. archaius-core
    DynamicPropertyFactory.getInstance
    1. com.netflix.config.ConfigurationManager.createDefaultConfigInstance(ConfigurationManager.java:138)[archaius-core-0.7.4.jar:0.7.4]
    2. com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:161)[archaius-core-0.7.4.jar:0.7.4]
    3. com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:176)[archaius-core-0.7.4.jar:0.7.4]
    4. com.netflix.config.ConfigurationBasedDeploymentContext.<init>(ConfigurationBasedDeploymentContext.java:108)[archaius-core-0.7.4.jar:0.7.4]
    5. com.netflix.config.ConfigurationManager.<init>(ConfigurationManager.java:104)[archaius-core-0.7.4.jar:0.7.4]
    6. com.netflix.config.DynamicPropertyFactory.getInstance(DynamicPropertyFactory.java:277)[archaius-core-0.7.4.jar:0.7.4]
    6 frames
  4. zuul-core
    ZuulFilter.<init>
    1. com.netflix.zuul.ZuulFilter.<init>(ZuulFilter.java:54)[zuul-core-1.1.0.jar:1.1.0]
    1 frame
  5. com.vonage.gunify
    RoutingFilter.<init>
    1. com.vonage.gunify.extservices.filter.AbstractZuulFilter.<init>(AbstractZuulFilter.java:11)[classes/:?]
    2. com.vonage.gunify.extservices.filter.RoutingFilter.<init>(RoutingFilter.java:6)[classes/:?]
    2 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_102]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_102]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_102]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_102]
    4 frames
  7. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    11 frames
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2 frames
  9. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:306)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    6 frames
  10. com.vonage.gunify
    ExtensionServices.main
    1. com.vonage.gunify.extservices.ExtensionServices.main(ExtensionServices.java:17)[classes/:?]
    1 frame