spring配置文件ApplicationContext.xml里面class等没有提示功能

Posted 最最么么哒

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spring配置文件ApplicationContext.xml里面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

技术分享

 

原文路径为:http://blog.csdn.net/fatehj/article/details/54912371


以上是关于spring配置文件ApplicationContext.xml里面class等没有提示功能的主要内容,如果未能解决你的问题,请参考以下文章

Spring4学习笔记2-配置Bean

SSM整合

Spring 的历史

Spring:为啥我在使用注解时需要 applicationContext.xml?

Spring源码从开始到放弃

disconf我也来聊5毛钱的