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]

GitHub | felipecao | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 105#248251119

    GitHub | 7 months ago | felipecao
    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]
  2. 0

    NoSuchMethodError while deploying Spring based ear file

    Stack Overflow | 2 years ago | Praveen
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/beans.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.data.repository.config.RepositoryConfigurationSource.getAttribute(Ljava/lang/String;)Ljava/lang/String;
  3. 0

    How does tomcat 6 choose the order to deploy WAR files

    Stack Overflow | 3 years ago | Jay
    org.springframework.beans.factory.BeanDefinitionStoreException: 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 [oracle.xml.jaxp.JXDocumentBuilderFactory@10987197] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Weblogic 10.3.3 conflict with HtmlUnit Spring webservice

    Stack Overflow | 5 years ago | TomCo
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring-ws-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName
  6. 0

    Network connection failed in Red 5 server (Java API forum at JavaRanch)

    coderanch.com | 1 year ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Could not resolve bean definition resource pattern [/WEB-INF/red5-*.xml]; nested exception is : ServletContext resource [/WEB-INF/] cannot be resolved to URL because it does not exist

  1. chenjunjun 3 times, last 5 months ago
  2. andyglick 20 times, last 8 months ago
  3. Bugger 1 times, last 1 year ago
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
    3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
    4. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
    4 frames