Eclipse中导入MyBatis Mapper DTD 和 xsd文件

Eclipse中导入MyBatis Mapper DTDspring

1.Eclipse中打开window-->Preferences-->XML-->XML catalogsql

2.点击add按钮,弹出对话框mybatis

3.Location中填入你所下载的DTD文件的本机位置;app

4.Key Type 选择 Public ID;
Key 则填入xml文档头部 <!DOCTYPE sqlMapConfig PUBLIC 后面的那些.
-//mybatis.org//DTD Mapper 3.0//EN

xml

 

XSD 类型约束文件 

    1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Add 按纽 
        
    2.在Add XML Catalog Entry 对话框中选择或输入如下内容: 
        Location: F:\soft\programmingSoft\Framework\Spring\spring-framework-2.5.6.SEC01-with-dependencies\spring-framework-2.5.6.SEC01\dist\resources\spring-beans-2.5.xsd 
        Key Type: Schema Location 
        KEY: http://www.springframework.org/schema/beans/spring-beans-2.5.xsd ip

相关文章
相关标签/搜索