Announcement Announcement Module
No announcement yet.
SAXParseException: Cannot find the declaration of element Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAXParseException: Cannot find the declaration of element

    I have a project - this is a SpingSecurity+ SAML based application. There is no source code only a few descriptors and necessary jars.
    During the deployment of this application I got the following exception:

    - Context initialization failed
    org.springframework.beans.factory.xml.XmlBeanDefin itionStoreException: Line 3 in XML document from class path resource [security/IdP_m.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'EntitiesDescriptor' at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio

    The Idp.xml is a metadata file:
    <EntitiesDescriptor ID="SMd1f57d98c45c370a2c77dece45502a8c"
    xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi=""
    <EntityDescriptor ID="SM24414e789fd27b052b45a187ef3dc5a6" entityID="">
    <IDPSSODescriptor WantAuthnRequestsSigned="false" ID="SM15124b19445c68f42a4f7edf6ae95bd5"
    protocolSupportEnumeration="urn:oasis:names:tc:SAM L:2.0rotocol">
    <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location=""/>

    The declaration of the element 'EntitiesDescriptor' is in the saml-schema-metadata-2.0.xsd that can be found in the path of the IdP descriptor. Why can't this be found during the parsing?

    The application based on Spring+SAML.
    The server is WebLogic 11

    Please, help.
    Last edited by cu4870; Mar 17th, 2011, 08:51 PM.