Results 1 to 2 of 2

Thread: rg.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'htt

  1. #1
    Join Date
    May 2009
    Location
    Italy
    Posts
    2

    Default rg.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'htt

    Hello,

    I am using the mss-1.3-jboss-jdk6-5.1.0.GA Application Server.

    During the deploy of my application, with the following applicationContext.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/aop
    http://www.springframework.org/schem...ng-aop-2.5.xsd
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schem...-beans-2.5.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schem...ontext-2.5.xsd
    http://www.springframework.org/schema/jee
    http://www.springframework.org/schem...ng-jee-2.5.xsd
    http://www.springframework.org/schema/tx
    http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

    <import resource="applicationContextAddressListParlay.xml" />

    ...

    <context:annotation-config />

    ....

    </beans>


    I get the following exception:


    17:04:46,626 WARN [XmlBeanDefinitionReader] Ignored XML validation warning
    org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.spring
    framework.org/schema/beans/spring-beans-2.5.xsd', because 1) could not find the document; 2) the doc
    ument could not be read; 3) the root element of the document is not <xsd:schema>.
    at org.apache.xerces.util.ErrorHandlerWrapper.createS AXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.warning (Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.re portSchemaWarning(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.ge tSchemaDocument(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.pa rseSchema(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSche ma(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.findS chemaGrammar(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handl eStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.start Element(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.sc anStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NS ContentDispatcher.scanRootElementHook(U
    nknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(
    Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(U nknown Source)
    at org.springframework.beans.factory.xml.DefaultDocum entLoader.loadDocument(DefaultDocumentL
    oader.java:73)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBe
    anDefinitionReader.java:361)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBean
    DefinitionReader.java:313)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBean
    DefinitionReader.java:290)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinition
    s(AbstractBeanDefinitionReader.java:131)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinition
    s(AbstractBeanDefinitionReader.java:147)
    at
    ...


    Thanks and regards, Michele

  2. #2
    Join Date
    May 2009
    Location
    Italy
    Posts
    2

    Default

    The problem is addressed by:

    http://code.google.com/p/mobicents/i...detail?id=1466

    Thanks and regards, Michele

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •