加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

applicationContext.xml文件中class中的内容不能提示

发布时间:2020-12-16 02:05:30 所属栏目:百科 来源:网络整理
导读:eclipse 使用spring,applicationContext.xml文件中class中的内容不能提示 可以在help-Eclipse Marketpla ce安装插件 1,Spring Tool Suit (STS ) 2,Hibernate Tools 将这两个插件安装好,再输入class名就会有提示 windows--preference---myeclipse---files a

eclipse 使用spring,applicationContext.xml文件中class中的内容不能提示



可以在help->Eclipse Marketplace安装插件

1,Spring Tool Suit(STS)


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

windows-->preference--->myeclipse--->files and editors-->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


其中一个应该可以,

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读