org.springframework.beans.factory.BeanCreationException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Spring Security detects beans in the root context. Move the detection of the bean (or declare it explictly) in the root context.

tip

Mixed JpaTransactionManager with JTA transaction type in the beans.xml and persistence.xml

tip

Upgrade to Confluence 3.5.5 or install the patch as explained in the details.


rprp
tip

Your applicationcontext.xml has a transactionManager defined. Your would need to remove it or add an entity manager.


rprp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Issue setting up a DataSource
    via GitHub by jinxiyin
    ,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationModuleConfiguration' defined in class path resource [org/kuali/coeus/sys/impl/KcRiceLocationOverrideSpringBeans.xml]: Cannot resolve reference to bean 'persistenceServiceOjb' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistenceServiceOjb' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    gandragandra
    1 times, last one,
    Unknown UserUnknown User
    1 times, last one,
    linxiaolonglinxiaolong
    1 times, last one,
    batwalrus76batwalrus76
    1 times, last one,
    56 more bugmates