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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

,
Expert tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Solutions on the web

via Oracle Community by shabari, 1 year ago
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
via Oracle Community by S Nadeem, 1 year ago
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
via hivmr.com by Unknown author, 1 year ago
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
via hivmr.com by Unknown author, 1 year ago
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
via wpthm.com by Unknown author, 2 years ago
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
via oracle.com by Unknown author, 1 year ago
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
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 java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
at com.endeca.itl.fcm.ForgeConfigurationManager.(ForgeConfigurationManager.java:226)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
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.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.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at com.endeca.esource.springadapter.SpringDelegateAdapter.loadApplicationContext(SpringDelegateAdapter.java:119)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1219 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.