eclipse添加ibatis自动提示 window->Files and Editors->XML->XML Catalog 点击ADD->location地址:http://ibatis.apache.org/dtd/sql-map-2.dtd key type:选择public ID key:-//ibatis.apache.org//DTD SQL Map 2.0//EN