org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in "/D:/dev_max/jboss-as-chat-mod/bin/content/syncope.war/WEB-INF/classes/persistenceContextEMFactory.xml": Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Post-processing of the FactoryBean's object failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: org.springframework.stereotype.Controller [Xlint:invalidAbsoluteTypeName]

syncope-user | Maxim Suprunov | 3 years ago
  1. 0

    Question about Syncope Project in JBoss 7.1.1

    syncope-user | 3 years ago | Maxim Suprunov
    org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in "/D:/dev_max/jboss-as-chat-mod/bin/content/syncope.war/WEB-INF/classes/persistenceContextEMFactory.xml": Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Post-processing of the FactoryBean's object failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: org.springframework.stereotype.Controller [Xlint:invalidAbsoluteTypeName]
  2. 0

    Question about Syncope Project in JBoss 7.1.1

    apache.org | 1 year ago
    java.lang.IllegalArgumentException: warning no match for this type name: org.springframework.stereotype.Controller [Xlint:invalidAbsoluteTypeName]
  3. 0

    Question about Syncope Project in JBoss 7.1.1

    apache.org | 1 year ago
    java.lang.IllegalArgumentException: warning no match for this type name: org.springframework.stereotype.Controller [Xlint:invalidAbsoluteTypeName]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Question about Syncope Project in JBoss 7.1.1

    apache.org | 11 months ago
    java.lang.IllegalArgumentException: warning no match for this type name: org.springframework.stereotype.Controller [Xlint:invalidAbsoluteTypeName]
  6. 0

    BeanCreationException: Error creating bean with name 'dataSource'

    GitHub | 4 years ago | timrdf
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [META-INF/spring-jpa.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 the @annotation pointcut expression is only supported at Java 5 compliance level or above

  1. Luka 6 times, last 2 months ago
  2. serious2monkeys 74 times, last 3 months ago
23 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.IllegalArgumentException

    warning no match for this type name: org.springframework.stereotype.Controller [Xlint:invalidAbsoluteTypeName]

    at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression()
  2. AspectJ weaver
    PointcutParser.parsePointcutExpression
    1. org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:301)[aspectjweaver-1.7.4.jar:1.7.4]
    1 frame
  3. Spring AOP
    AbstractAutoProxyCreator.postProcessAfterInitialization
    1. org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:208)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    2. org.springframework.aop.aspectj.AspectJExpressionPointcut.getFallbackPointcutExpression(AspectJExpressionPointcut.java:359)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    3. org.springframework.aop.aspectj.AspectJExpressionPointcut.getShadowMatch(AspectJExpressionPointcut.java:410)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    4. org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:273)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    5. org.springframework.aop.support.AopUtils.canApply(AopUtils.java:223)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    6. org.springframework.aop.support.AopUtils.canApply(AopUtils.java:262)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    7. org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:294)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    8. org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:118)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    9. org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:88)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    10. org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:69)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    11. org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    12. org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    12 frames
  4. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1655)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    3. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:162)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    4. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1468)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    14. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    15. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    16. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    17. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    17 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1117)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:922)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    3 frames
  6. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
    3 frames
  7. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)[jbossweb-7.0.13.Final.jar:]
    2 frames
  8. JBoss Web
    WebDeploymentService.start
    1. org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  9. JBoss Modular Service Container
    ServiceControllerImpl$StartTask.run
    1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
    2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
    2 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_51]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_51]
    3. java.lang.Thread.run(Thread.java:744)[rt.jar:1.7.0_51]
    3 frames