eclipse xml文件中class内容提示设置

help->Eclipse Marketplace安装插件

1 ,Spring Tool Suit (STS)

2, Hibernate Tools 将这两个插件安装好,再输入class名就会有提示

windows-->preference 搜索 xml--->xmlcatalog

点击add ,在出现的窗口中的 Key Type 中选择URI,在location中选择File system,然后再spring解压目录中的

dist/resources 目录中选择spring-beans-2.5.xsd,回到设置窗口的时候,不要着急关闭窗口,

应该把窗口中的

Key Type改为Schema location ,

Key 改为http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

原文地址:https://www.cnblogs.com/xiaoQ0725/p/8064486.html