org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/Users/felipe/workspace/rebuy-java-cli/target/classes/META-INF/spring/spring-shell-plugin.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'dateConverter' for bean class [com.rebuy.cli.converters.DateConverter] conflicts with existing, non-compatible bean definition of same name and class [org.springframework.shell.converters.DateConverter]

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 GitHub by felipecao
, 1 year ago
Unexpected exception parsing XML document from URL [file:/Users/felipe/workspace/rebuy-java-cli/target/classes/META-INF/spring/spring-shell-plugin.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException
via scriptscoop.net by Unknown author, 1 year ago
Unexpected exception parsing XML document from class path resource [XXX.xml]; nested exception is java.lang.ClassCastException: <b>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory</b>
via Stack Overflow by Gary
, 1 year ago
Unexpected exception parsing XML document from class path resource [XXX.xml]; nested exception is java.lang.ClassCastException: <b>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory</b>
via Stack Overflow by ImranRazaKhan
, 2 years ago
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/cxf-beans.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxws] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
via manning.com by Unknown author, 1 year ago
Unexpected exception parsing XML document from class path resource [Messaging.xml]; nested exception is org.springframework.beans.FatalBeanException: NamespaceHandler class [org.apache.xbean.spring.context.v2.XBeanNamespaceHandler] for namespace
via Stack Overflow by Jay
, 2 years ago
Parser configuration exception parsing XML from ServletContext resource [/WEB-INF/classes/edu/cornell/finsys/webservices.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/Users/felipe/workspace/rebuy-java-cli/target/classes/META-INF/spring/spring-shell-plugin.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'dateConverter' for bean class [com.rebuy.cli.converters.DateConverter] conflicts with existing, non-compatible bean definition of same name and class [org.springframework.shell.converters.DateConverter]
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)

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, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
33 more bugmates

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