注册 登录
编程论坛 JAVA论坛

mybatis配置文件首行报错

qq657404287 发布于 2020-06-07 12:50, 1575 次点击
<?xml version="1.0" encoding="UTF-8"?> 第一行报错
错误显示:The markup declarations contained or pointed to by the document type declaration must be well-formed.

工具:eclipse 2020-03版
自己尝试过的解决办法:1.添加本地DTD约束文件
                      2.清理cache
                      3.Validation校验关闭

以上方法都没有效果!求个大神能解决一下吗?
1 回复
#2
alexzzz2020-06-09 13:39
你在eclipse中导入mybatis约束了吗
1