org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [WEB-INF/application-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSourceAdvisor' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot create inner bean 'org.springframework.aop.support.JdkRegexpMethodPointcut#e51b2c' of type [org.springframework.aop.support.JdkRegexpMethodPointcut] while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.JdkRegexpMethodPointcut#e51b2c' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditBusinessUnitAdvisor' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot create inner bean 'businessUnitServiceAuditAfterReturningAdvice' of type [com.vaau.rbacx.rbacxaudit.aop.businessunitserviceaudit.BusinessUnitServiceAuditAfterReturningAdvice] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditAfterReturningAdvice' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot resolve reference to bean 'daoAuditLogger' while setting bean property 'auditLogger'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuditLogger' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#1cebc9f' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#1cebc9f' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'globalUserManagerTarget' while setting bean property 'userManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserManagerTarget' defined in ServletContext resource [WEB-INF/idw-context.xml]: Cannot resolve reference to bean 'globalUserDao' while setting bean property 'globalUserDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDao' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'globalUserDaoTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDaoTarget' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError

Oracle Community | 807573 | 7 years ago
  1. 0

    SRM Deployment Issue

    Oracle Community | 7 years ago | 807573
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [WEB-INF/application-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSourceAdvisor' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot create inner bean 'org.springframework.aop.support.JdkRegexpMethodPointcut#e51b2c' of type [org.springframework.aop.support.JdkRegexpMethodPointcut] while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.JdkRegexpMethodPointcut#e51b2c' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditBusinessUnitAdvisor' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot create inner bean 'businessUnitServiceAuditAfterReturningAdvice' of type [com.vaau.rbacx.rbacxaudit.aop.businessunitserviceaudit.BusinessUnitServiceAuditAfterReturningAdvice] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditAfterReturningAdvice' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot resolve reference to bean 'daoAuditLogger' while setting bean property 'auditLogger'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuditLogger' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#1cebc9f' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#1cebc9f' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'globalUserManagerTarget' while setting bean property 'userManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserManagerTarget' defined in ServletContext resource [WEB-INF/idw-context.xml]: Cannot resolve reference to bean 'globalUserDao' while setting bean property 'globalUserDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDao' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'globalUserDaoTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDaoTarget' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
  2. 0

    Developing Spring MVC application – Annotation based Controller and JPA | senior janitor

    wordpress.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0’ defined in ServletContext resource [/WEB-INF/springapp-data.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘entityManagerFactory’ defined in ServletContext resource [/WEB-INF/springapp-data.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager
  3. 0

    Spring initWebApplicationContext error

    Stack Overflow | 4 years ago | kneves.vinicius
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [spring/spring-framework-web.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut pointcutFindAndSearch
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot get Terracotta 3.7.5 work with the sample examinator-1.4.1

    terracotta.org | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_methodSecurityInterceptorPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_methodDefinitionSourceAdvisor': Cannot resolve reference to bean '_delegatingMethodDefinitionSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_delegatingMethodDefinitionSource': Cannot create inner bean '(inner bean)' of type [org.springframework.security.annotation.Jsr250MethodDefinitionSource] while setting bean property 'methodDefinitionSources' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [META-INF/spring/data-access.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManagerFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [META-INF/spring/data-access.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was java.lang.RuntimeException: com.tc.config.schema.setup.ConfigurationSetupException: ******************************************************************************* The configuration data in the base configuration from server at 'localhost:9510' does not obey the Terracotta schema: [0]: Line 10, column 5: Attribute not allowed (no wildcards allowed): secure in element servers [1]: Line 19, column 13: Expected elements 'authentication http-authentication dso' instead of 'index' here in element server *******************************************************************************
  6. 0

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springfr (Spring forum at JavaRanch)

    coderanch.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor': Instantiation of bean failed; nested exception is : org/springframework/beans/factory/NoUniqueBeanDefinitionException

    25 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. org.springframework.beans.factory.BeanCreationException

      Error creating bean with name 'messageSource' defined in ServletContext resource [WEB-INF/application-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSourceAdvisor' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot create inner bean 'org.springframework.aop.support.JdkRegexpMethodPointcut#e51b2c' of type [org.springframework.aop.support.JdkRegexpMethodPointcut] while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.JdkRegexpMethodPointcut#e51b2c' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditBusinessUnitAdvisor' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot create inner bean 'businessUnitServiceAuditAfterReturningAdvice' of type [com.vaau.rbacx.rbacxaudit.aop.businessunitserviceaudit.BusinessUnitServiceAuditAfterReturningAdvice] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditAfterReturningAdvice' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot resolve reference to bean 'daoAuditLogger' while setting bean property 'auditLogger'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuditLogger' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#1cebc9f' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#1cebc9f' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'globalUserManagerTarget' while setting bean property 'userManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserManagerTarget' defined in ServletContext resource [WEB-INF/idw-context.xml]: Cannot resolve reference to bean 'globalUserDao' while setting bean property 'globalUserDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDao' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'globalUserDaoTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDaoTarget' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:405)
      1 frame
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
      6 frames
    5. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:627)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:368)
      2 frames
    6. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      3 frames
    7. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      7. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      18 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. Glassfish Core
      Bootstrap.start
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      1 frame