You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/18 12:33:35 UTC

[GitHub] [incubator-shardingsphere] jiejiecool opened a new issue #2052: sharding-jdbc-spring-namespace 4.0.0-RC1 namespcae configuration

jiejiecool opened a new issue #2052: sharding-jdbc-spring-namespace 4.0.0-RC1 namespcae configuration
URL: https://github.com/apache/incubator-shardingsphere/issues/2052
 
 
   `<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:sharding="http://shardingsphere.apache.org/schema/shardingsphere/sharding" xsi:schemaLocation="
           http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans.xsd
           http://shardingsphere.apache.org/schema/shardingsphere/sharding
           http://shardingsphere.apache.org/schema/shardingsphere/sharding/sharding.xsd">`
   
   because concurrent problem in on-line environment, so i downloaded 4.0.0-RC1 version and package it .But i'm getting in trouble when startup. This is my namespace configuration, but when startup,the error below occured, like this
   `Caused by: org.xml.sax.SAXParseException: TargetNamespace.1: 应为名称空间 'http://shardingsphere.apache.org/schema/shardingsphere/sharding', 但方案文档的目标名称空间为 'http://shardingsphere.io/schema/shardingsphere/sharding'。`
   
   I guess the problem is 
   `http://shardingsphere.apache.org/schema/shardingsphere/sharding/sharding.xsd`
   but targetNameSpace in this xsd file is
   `<xsd:schema xmlns="http://shardingsphere.io/schema/shardingsphere/sharding"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:beans="http://www.springframework.org/schema/beans"
               targetNamespace="http://shardingsphere.io/schema/shardingsphere/sharding"`
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services