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.

GitHub | sarjerav | 2 months ago
  1. 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.
  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

    [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
  6. 0

    PostgreSQL DB Connection error during jHipster bootrun

    Stack Overflow | 2 weeks ago | user3555906
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory 2016-11-21 14:43:14.006 WARN 1081 --- [rapp-Executor-1] com.zaxxer.hikari.pool.ProxyConnection : HikariPool-1 - Connection org.postgresql.jdbc.PgConnection@720a05ef marked as broken because of SQLSTATE(08006), ErrorCode(0) org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.

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

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  3. MySQL jdbc
    ConnectionImpl.rollback
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.Util.getInstance(Util.java:381)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
    4. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    5. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
    6. com.mysql.jdbc.ConnectionImpl.getMutex(ConnectionImpl.java:3018)
    7. com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4564)
    7 frames
  4. HikariCP-java6
    HikariProxyConnection.rollback
    1. com.zaxxer.hikari.pool.ProxyConnection.rollback(ProxyConnection.java:360)
    2. com.zaxxer.hikari.pool.HikariProxyConnection.rollback(HikariProxyConnection.java)
    2 frames
  5. Liquibase Core
    SpringLiquibase.afterPropertiesSet
    1. liquibase.database.jvm.JdbcConnection.rollback(JdbcConnection.java:337)
    2. liquibase.database.AbstractJdbcDatabase.rollback(AbstractJdbcDatabase.java:1141)
    3. liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:197)
    4. liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:164)
    5. liquibase.Liquibase.update(Liquibase.java:196)
    6. liquibase.Liquibase.update(Liquibase.java:192)
    7. liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:434)
    8. liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:391)
    8 frames
  6. com.org.demoapp
    ExceptionHandlingAsyncTaskExecutor.lambda$1
    1. com.org.demoapp.config.liquibase.AsyncSpringLiquibase.initDb(AsyncSpringLiquibase.java:67)
    2. com.org.demoapp.config.liquibase.AsyncSpringLiquibase.lambda$0(AsyncSpringLiquibase.java:50)
    3. com.org.demoapp.async.ExceptionHandlingAsyncTaskExecutor.lambda$1(ExceptionHandlingAsyncTaskExecutor.java:47)
    3 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames