org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tildeETerminology' defined in file [/home/pieter/Developer/freme/e-services/tilde-services/target/classes/eu/freme/eservices/tilde/terminology/TildeETerminology.class]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class eu.freme.eservices.tilde.terminology.TildeETerminology

GitHub | pheyvaer | 3 months ago
  1. 0

    [E-Terminology] Tests fail

    GitHub | 3 months ago | pheyvaer
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tildeETerminology' defined in file [/home/pieter/Developer/freme/e-services/tilde-services/target/classes/eu/freme/eservices/tilde/terminology/TildeETerminology.class]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class eu.freme.eservices.tilde.terminology.TildeETerminology
  2. 0

    Error creating bean with name 'stockDAO' defined in ServletContext resource [/WEB-INF/servlet-context.xml]: Instantiation of bean failed;

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockDAO' defined in ServletContext resource [/WEB-INF/servlet-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.spring.dao.StockDAOImpl
  3. 0

    log4j in Spring - Hibernate Idea project

    Stack Overflow | 1 year ago | VadOs
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainController' defined in file [C:\apache-tomcat-8.0.24\webapps\ROOT\WEB-INF\classes\com\gmail\dissa\vadim\controllers\MainController.class]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.gmail.dissa.vadim.controllers.MainController
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError in JBoss Console at Startup

    Google Groups | 3 years ago | Hovanes Gambaryan
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminController' defined in ServletContext resource [/WEB-INF/config/spring-silverpeas.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.stratelia.webactiv.beans.admin.Admin

  1. Reich 24 times, last 3 weeks ago
  2. MoYapro 30 times, last 2 months ago
  3. tfr 3 times, last 6 months ago
  4. DannyDBag 1 times, last 6 months ago
21 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.NoClassDefFoundError

    Could not initialize class eu.freme.eservices.tilde.terminology.TildeETerminology

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  3. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1092)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1044)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
    11 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    2 frames
  5. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:690)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:322)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:970)
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:959)
    5 frames
  6. eu.freme.common
    FREMEStarter.startPackageFromClasspath
    1. eu.freme.common.starter.FREMEStarter.startPackageFromClasspath(FREMEStarter.java:32)
    2. eu.freme.common.starter.FREMEStarter.startPackageFromClasspath(FREMEStarter.java:42)
    2 frames
  7. eu.freme.bservices
    IntegrationTestSetup.getContext
    1. eu.freme.bservices.testhelper.api.IntegrationTestSetup.getContext(IntegrationTestSetup.java:34)
    1 frame
  8. eu.freme.eservices
    TildeETerminologyTest.setup
    1. eu.freme.eservices.tilde.TildeETerminologyTest.setup(TildeETerminologyTest.java:55)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  10. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    13 frames
  11. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
    3 frames
  12. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames