The content of element type "mycat:schema" must match "(schema*,dataNode*,dataHost*)"错误解决办法
来源:互联网 发布:成都靠谱的linux学校 编辑:程序博客网 时间:2024/06/05 19:12
今天在配置使用mycat时遇到The content of element type "mycat:schema" must match "(schema*,dataNode*,dataHost*)"错误,
根据wrapper.log日志信息,开始以为是我的schema.xml文件中的schema、dataNode、dataHost标签写得不正确,反复查看后没有发现问题,
但是问题依旧存在,后来经过一番折腾之后,发现这句话的意思其实是:schema、dataNode、dataHost标签在schema.xml文件中,必须按照顺序书写。
其实就是说多个schema需要写在一起,并且放在最前面;多个dataNode写在一起,放在schema标签之后;多个dataHost写在一起,放在dataNode标签之后。如下方式:
schema1
schema2
...
dataNode1
dataNode2
...
dataHost1
dataHost2
...
如上方式书写schema.xml配置文件即可。其实还是语言理解上面的问题。哈哈,又遇见的朋友可以参考一下试试,有问题欢迎指正。
阅读全文
0 0
- The content of element type "mycat:schema" must match "(schema*,dataNode*,dataHost*)"错误解决办法
- ibatis:The content of element type "sqlMap" must match
- The content of element type "package" must match...
- The content of element type "struts-config" must match 解决方案
- The content of element type "package" must match 。。。。。。
- The content of element type "package" must match 随笔
- The content of element type "web-app" must match "
- The content of element type "web-app" must match
- the content of element type must match解决方法
- The content of element type "tag" must match
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……等 问题之解决办法
- struts2配置文件错误(The content of element type “package” must match**)
- Hibernate配置文件错误提示,The content of element type "list" must match "(meta*,subselect?,cache?,synchroniz
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- nginx tcp 反向代理
- 2.2基本数据类型
- Java网络编程之(三): TCP协议使用NIO实现非阻塞Soket通信
- gradle学习二 利用javassist api修改class字节码
- 45纳米和堆叠技术在低暗电流和低噪声的0.9微米像素CMOS图像传感器处理的应用
- The content of element type "mycat:schema" must match "(schema*,dataNode*,dataHost*)"错误解决办法
- 优先考虑类型安全的异构容器。
- C语言操作符总结1
- "Premium HDMI Cable" Certification -- What is it, and Why?
- okhttp-post
- Spring Boot错误处理
- 公有云厂商服务内容对比
- scrapy之ip池
- Docker基本操作