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

    openmeetings-user - [openmeetings-user] java exception while starting red5.sh - msg#00144 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'jmxAgent' defined in class path resource > [red5-common.xml]: Invocation of init method failed; nested exception > is java.lang.NoClassDefFoundError: > javax.management.remote.JMXServiceURL at > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java: > 141) at > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java: > 107) at > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java: > 275) ...15 more > Caused by: org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'jmxAgent' defined in class path > resource [red5-common.xml]: Invocation of init method failed; nested > exception is java.lang.NoClassDefFoundError: > javax.management.remote.JMXServiceURL at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java: > 1401) at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java: > 512) at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java: > 450) at org.springframework.beans.factory.support.AbstractBeanFactory > $1.getObject(AbstractBeanFactory.java:290) at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java: > 222) at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java: > 287) at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java: > 189) at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java: > 557) at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java: > 842) at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java: > 416) at > org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java: > 140) at > org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java: > 94)
  3. 0

    GitHub comment 3#21574028

    GitHub | 3 years ago | mpue
    org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'simulatorProvider' defined in class path > resource [applicationContext.xml]: Invocati on of init method failed; > nested exception is java.lang.NullPointerException > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:263) > at > org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1083) > at > org.pmedv.core.gui.ApplicationWindow.createMenuBar(ApplicationWindow.java:183) > at > org.pmedv.core.gui.ApplicationWindow.initializeComponents(ApplicationWindow.java:82) > at > org.pmedv.core.gui.AbstractApplicationWindow.(AbstractApplicationWindow.java:51) > at org.pmedv.core.gui.ApplicationWindow.(ApplicationWindow.java:62) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4315#254193455

    GitHub | 2 months ago | sarjerav
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' is defined) 2016-10-17 17:55:10.996 WARN 4104 --- [-app-Executor-1] com.zaxxer.hikari.pool.ProxyConnection : HikariPool-1 - Connection com.mysql.jdbc.JDBC4Connection@6a26ffa1 marked as broken because of SQLSTATE(08003), ErrorCode(0) com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this state.
  6. 0

    Spring AOP and AspectJ Integration with EJB3 - Spring Forum

    spring.io | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'creditCardAdvice' defined in class path resource [aopContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.fedex.ccs.advice.CCSCreditCardInfoAdvice

  1. Andreas Häber 4 times, last 2 months ago
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. 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

    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