MyEclipse开启Mybatis-config.xml配置文件智能提示并自动生成带文档类型的xml

首先需要保证本地存在xml文件中对应的dtd文件,可以直接访问 http://mybatis.org/dtd/mybatis-3-config.dtd 地址下载到本地;

配置步骤:

window——preference——XML Catalog——Add

添加完成就可以创建mybatis-config.xml:

 

猜你喜欢

转载自blog.csdn.net/Milan__Kundera/article/details/81711808