org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init-capsdConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is org.exolab.castor.xml.MarshalException: unable to find FieldDescriptor for 'service' in ClassDescriptor of capsd-configuration{File: [not available]; line: 194; column: 74}

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

Solutions on the web

via sourceforge.net by Unknown author, 2 years ago
-capsdConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is org.exolab.castor.xml.MarshalException: unable to find FieldDescriptor for 'service' in ClassDescriptor of capsd-configuration{File: [not available]; line: 194; column: 74}
via sourceforge.net by Unknown author, 1 year ago
-capsdConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is org.exolab.castor.xml.MarshalException: unable to find FieldDescriptor for 'service' in ClassDescriptor of capsd-configuration{File: [not available]; line: 194; column: 74}
via ibm.com by Unknown author, 1 year ago
Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
via ibm.com by Unknown author, 1 year ago
Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init-capsdConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is org.exolab.castor.xml.MarshalException: unable to find FieldDescriptor for 'service' in ClassDescriptor of capsd-configuration{File: [not available]; line: 194; column: 74}
at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:59)
at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101)
at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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