** 在编辑xml文件的时候能够进行智能提示 ** window->preferences->xml->xml catalog 2.选择add 进行添加约束,本文以myBatis为例。 3.配置成功之后,在xml文件中编写的时候就会出现智能提示。