The content of element type "context" must match "(property*,plugin*,commentGenerator?
来源:互联网 发布:开农村淘宝怎么赚钱 编辑:程序博客网 时间:2024/05/16 08:31
最近项目用SSM框架,在利用mybatis generator反向生成数据库对应的model实体时,报如下错误:
The content of element type "context" must match
"(property*,plugin*,commentGenerator?,jdbcConnection,javaTypeResolver?,javaModelGenerator,sqlMapGenerator?,javaClientGenerator?,table+)".
原因:
配置文件 generatorConfig.xml 里面的context的子元素必须按照它给出的顺序,如错误提示的match“……”部分。 当然也可能是你xml文件有错(这个容易检查出来)
0 0
- The content of element type "context" must match "(property*,plugin*,commentGenerator?
- hibernate The content of element type "session-factory" must match "(property*,mapping*,(class-cache
- hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache| collect
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache| collect
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- Hibernate配置文件报错:The content of element type "session-factory" must match "(property*,mapping*,(c
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache| c
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- 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
- Android,上百个项目源码 免费分享给诸位技术,省得找来找去了
- js(javascript)的跳转代码整理
- Android完全退出程序
- 基于跨域单点登录令牌的设计与实现
- Shell脚本编程30分钟入门
- The content of element type "context" must match "(property*,plugin*,commentGenerator?
- delphi 的 TComponent: 组件对象
- 当打开vim没有sudo又想保存时
- 陈怡暖:黄金短期或陷入震荡,关注1184支撑
- 社説 20150528 ストレス検査 職場環境の改善につなげたい
- Swift开发Sprite Kit游戏实践(三):物理推力与碰撞检测
- Linux常用操作命令
- Android--Recovery模块之恢复出厂设置
- 欢迎使用CSDN-markdown编辑器