xfyang1988 edited a comment on issue #12419:
URL: 
https://github.com/apache/shardingsphere/issues/12419#issuecomment-918906768


   Configured according to your example, but reported the following error?
   
   Offending resource: class path resource [spring/applicationContext.xml]; 
nested exception is 
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 25 
in XML document from class path resource 
[spring/local/springbeans-sharding-datasource.xml] is invalid; nested exception 
is org.xml.sax.SAXParseException; lineNumber: 25; columnNumber: 97; 
cvc-complex-type.3.2.2: 元素 'sharding:standard-strategy' 中不允许出现属性 
'algorithm-ref'。
   
![image](https://user-images.githubusercontent.com/19721648/133220014-5c5f149b-c73a-4663-84c5-e3f41edb71d5.png)
   
   
![image](https://user-images.githubusercontent.com/19721648/133218901-d3b9c28a-bd28-4a31-a6bc-a5e2fd0bfade.png)
   
   http://shardingsphere.apache.org/schema/shardingsphere/sharding/sharding.xsd
   
   
![image](https://user-images.githubusercontent.com/19721648/133226012-eda64550-6a23-4b11-b2e9-057a75614ecc.png)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to