Announcement Announcement Module
Collapse
No announcement yet.
Unable to validate using XSD Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to validate using XSD

    I am using OXM...tried castor/ jaxb with the same error. I have the latest version of xerces and JDOM version of the same webservice runs in the same environment. What is the problem?

    Code:
    ERROR {ApplicationContext.java:676} - StandardWrapper.Throwable
    
    BeanDefinitionStoreException: Parser configuration exception parsing XML from ServletContext resource [spring-ws-servlet.xml]; nested exception is ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [DocumentBuilderFactoryImpl] 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

  • #2
    2008-05-28 16:20:08,838 ERROR [/lotWS]:{ApplicationContext.java:676} - StandardWrapper.Throwable



    Caused by: javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ 6bd9e0] 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.

    at org.springframework.beans.factory.xml.DefaultDocum entLoader.createDocumentBuilderFactory(DefaultDocu mentLoader.java:102)

    at org.springframework.beans.factory.xml.DefaultDocum entLoader.loadDocument(DefaultDocumentLoader.java: 70)

    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:382)

    ... 29 more

    Caused by: java.lang.IllegalArgumentException: No attributes are implemented

    at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl. setAttribute(DocumentBuilderFactoryImpl.java:93)

    at org.springframework.beans.factory.xml.DefaultDocum entLoader.createDocumentBuilderFactory(DefaultDocu mentLoader.java:99)

    Comment

    Working...
    X