maven - Drools-spring xsd Failed to read schema document -


we trying deploy web application doesn't have access internet. there issue accessing spring-drools.xsd.

context xml:

<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"      xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"     xmlns:jee="http://www.springframework.org/schema/jee"     xmlns:drools="http://drools.org/schema/drools-spring"                xsi:schemalocation="http://www.springframework.org/schema/beans                          http://www.springframework.org/schema/beans/spring-beans-3.0.xsd                         http://www.springframework.org/schema/jee                          http://www.springframework.org/schema/jee/spring-jee.xsd                         http://drools.org/schema/drools-spring                          org/drools/container/spring/drools-spring-1.2.0.xsd"> 

pom:

<properties>         <spring-version>4.1.2.release</spring-version>         <drools-version>5.6.0.final</drools-version> </properties>  <dependency>         <groupid>org.drools</groupid>         <artifactid>drools-spring</artifactid>         <version>${drools-version}</version> </dependency>    

warning:

warn  o.s.b.f.x.xmlbeandefinitionreader # ignored xml validation warning org.xml.sax.saxparseexception: schema_reference.4: failed read schema document 'org/drools/container/spring/drools-spring-1.2.0.xsd', because 1) not find document; 2) document not read; 3) root element of document not <xsd:schema>.         @ org.apache.xerces.util.errorhandlerwrapper.createsaxparseexception(unknown source) [na:na]         @ org.apache.xerces.util.errorhandlerwrapper.warning(unknown source) [na:na]         @ org.apache.xerces.impl.xmlerrorreporter.reporterror(unknown source) [na:na]         @ org.apache.xerces.impl.xmlerrorreporter.reporterror(unknown source) [na:na]         @ org.apache.xerces.impl.xs.xmlschemavalidator.findschemagrammar(unknown source) [na:na]         @ org.apache.xerces.impl.xs.xmlschemavalidator.handlestartelement(unknown source) [na:na]         @ org.apache.xerces.impl.xs.xmlschemavalidator.startelement(unknown source) [na:na]         @ org.apache.xerces.impl.xmlnsdocumentscannerimpl.scanstartelement(unknown source) [na:na]         @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl$fragmentcontentdispatcher.dispatch(unknown source) [na:na] 

anyway fix issue? please advice

thanks

harish


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -