org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 17 in XML document from URL [bundle://186.0:0/META-INF/spring/beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'cxfse:inInterceptors'. One of '{"http://servicemix.apache.org/cxfse/1.0":properties, WC[##other:"http://servicemix.apache.org/cxfse/1.0"]}' is expected.

servicemix-users | Dan Powell | 6 years 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

    Schema Location for CXF SE Beans

    servicemix-users | 6 years ago | Dan Powell
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 17 in XML document from URL [bundle://186.0:0/META-INF/spring/beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'cxfse:inInterceptors'. One of '{"http://servicemix.apache.org/cxfse/1.0":properties, WC[##other:"http://servicemix.apache.org/cxfse/1.0"]}' is expected.
  2. 0

    ServiceMix - User - org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.

    nabble.com | 10 months ago
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 27 in XML document from URL [bundle://240.0:0/META-INF/spring/xbean.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
  3. 0

    ServiceMix - User - Problem with http:endpoint

    nabble.com | 11 months ago
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 14 in XML document from URL [bundleentry://185.fwk179514/META-INF/spring/bundle-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http:endpoint'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    no declaration can be found for element 'jpa:repositories'

    Stack Overflow | 5 years ago | tokhi
    java.lang.IllegalStateException: Failed to load ApplicationContext
  6. 0

    Error finding spring schemas

    Stack Overflow | 2 years ago | mnki
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from ServletContext resource [/WEB-INF/spring-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://cso.att.com/FAQs/URLFiltering/ProxyWarning.html; lineNumber: 1; columnNumber: 63; White spaces are required between publicId and systemId.
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.xml.sax.SAXParseException

    cvc-complex-type.2.4.a: Invalid content was found starting with element 'cxfse:inInterceptors'. One of '{"http://servicemix.apache.org/cxfse/1.0":properties, WC[##other:"http://servicemix.apache.org/cxfse/1.0"]}' is expected.

    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    DocumentBuilderImpl.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:233)[:]
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:169)[:]
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:420)[:]
    4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:354)[:]
    5. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:455)[:]
    6. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3220)[:]
    7. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1844)[:]
    8. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:743)[:]
    9. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:414)[:]
    10. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2769)[:]
    11. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:662)[:]
    12. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:154)[:]
    13. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:525)[:]
    14. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:853)[:]
    15. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:782)[:]
    16. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:157)[:]
    17. com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:273)[:]
    18. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:322)[:]
    18 frames
  3. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)[61:org.springframework.beans:3.0.4.RELEASE]
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)[61:org.springframework.beans:3.0.4.RELEASE]
    3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[61:org.springframework.beans:3.0.4.RELEASE]
    4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[61:org.springframework.beans:3.0.4.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)[61:org.springframework.beans:3.0.4.RELEASE]
    6. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)[61:org.springframework.beans:3.0.4.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)[61:org.springframework.beans:3.0.4.RELEASE]
    7 frames
  4. Spring OSGi Core
    OsgiBundleXmlApplicationContext.loadBeanDefinitions
    1. org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:176)[73:org.springframework.osgi.core:1.2.0]
    2. org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142)[73:org.springframework.osgi.core:1.2.0]
    2 frames
  5. Spring Context
    AbstractApplicationContext.obtainFreshBeanFactory
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[63:org.springframework.context:3.0.4.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)[63:org.springframework.context:3.0.4.RELEASE]
    2 frames
  6. Spring OSGi Core
    AbstractDelegatedExecutionApplicationContext.startRefresh
    1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69)[73:org.springframework.osgi.core:1.2.0]
    2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269)[73:org.springframework.osgi.core:1.2.0]
    3. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[73:org.springframework.osgi.core:1.2.0]
    4. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247)[73:org.springframework.osgi.core:1.2.0]
    4 frames
  7. org.springframework.osgi
    DependencyWaiterApplicationContextExecutor.refresh
    1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:222)[74:org.springframework.osgi.extender:1.2.0]
    2. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)[74:org.springframework.osgi.extender:1.2.0]
    2 frames
  8. Spring OSGi Core
    AbstractDelegatedExecutionApplicationContext.refresh
    1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[73:org.springframework.osgi.core:1.2.0]
    1 frame
  9. org.springframework.osgi
    ContextLoaderListener$2.run
    1. org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)[74:org.springframework.osgi.extender:1.2.0]
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)[:1.6.0_22]
    1 frame