com.endeca.edf.adapter.AdapterException

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.

  • Necessary jars for spring batch
    via by Unknown author,
    • com.endeca.edf.adapter.AdapterException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationAdapter' defined in class path resource [config/script/fcm.context.xml]: Cannot resolve reference to bean 'forgeConfigurationManager' while setting bean property 'forgeConfigurationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'forgeConfigurationManager' defined in class path resource [config/script/fcm.context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.endeca.itl.fcm.ForgeConfigurationManager]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at com.endeca.esource.springadapter.SpringDelegateAdapter.loadApplicationContext(SpringDelegateAdapter.java:121) at com.endeca.esource.springadapter.SpringDelegateAdapter.loadDelegateAdapter(SpringDelegateAdapter.java:73) at com.endeca.esource.springadapter.SpringDelegateAdapter.execute(SpringDelegateAdapter.java:60) at com.endeca.edf.adapter.AdapterRunner.run(AdapterRunner.java:168) at com.endeca.edf.adapter.AdapterRunner.main(AdapterRunner.java:43) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationAdapter' defined in class path resource [config/script/fcm.context.xml]: Cannot resolve reference to bean 'forgeConfigurationManager' while setting bean property 'forgeConfigurationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'forgeConfigurationManager' defined in class path resource [config/script/fcm.context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.endeca.itl.fcm.ForgeConfigurationManager]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.endeca.esource.springadapter.SpringDelegateAdapter.loadApplicationContext(SpringDelegateAdapter.java:119) ... 4 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    67 more bugmates