eclipes 中添加spring 插件以及配置文件不提示class信息
2016-09-30 17:26
399 查看
一 安装
1、首先下载
记得是以update结尾的sts
2、在eclipse中安装插件 点击help 选择install new software
3、点击archive 添加 刚下载的插件包,选择所有的带有Spring IDE 结尾的。
一直点击下一步。最后重即可。
二 使用
新建里有这个就说明安装成功了。
下一步applicationcontext 添加头文件
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd">
记得要在preference 里 的xml catlog 添加这些xtd。
最后打开applicationcontext。xml 要以
xml editor打开,就可以看到各种提示了。折腾我好久了。记录一下。
1、首先下载
记得是以update结尾的sts
2、在eclipse中安装插件 点击help 选择install new software
3、点击archive 添加 刚下载的插件包,选择所有的带有Spring IDE 结尾的。
一直点击下一步。最后重即可。
二 使用
新建里有这个就说明安装成功了。
下一步applicationcontext 添加头文件
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd">
记得要在preference 里 的xml catlog 添加这些xtd。
最后打开applicationcontext。xml 要以
xml editor打开,就可以看到各种提示了。折腾我好久了。记录一下。
相关文章推荐
- Eclipse安装了SpringSource Tool Suite插件后,编辑SpringBoot项目的yml配置文件仍然没有提示信息的解决办法
- Eclipse编辑Spring配置文件xml时自动提示类class包名
- 如何配置myeclipse10,Spring配置文件中输入class时的自动提示,spring本身的xml可以提示
- eclipse(xmlbuddy插件)为xml文件自动提示(同MyEclipse编辑XML的提示功能),以spring配置文件为例
- spring配置文件ApplicationContext.xml里面class等没有提示功能
- Eclipse安装spring配置文件提示插件
- Spring配置文件中属性值不能提示的解决办法(eclipse添加xsd文件)
- eclipse中spring配置文件的自动提示和命名空间的添加
- Java 實現導出CSV以及如何調用提示信息的配置文件及轉編碼
- 【转】 Eclipse编辑Spring配置文件xml时自动提示类class包名
- eclipse安装spring tool suite插件便于xml配置文件选择命名空间添加
- eclipse中spring配置文件的自动提示和命名空间的添加
- spring需要添加哪些配置文件以及如何配置
- spring配置文件ApplicationContext.xml里面class等没有提示功能
- eclipse中spring配置文件的自动提示和命名空间的添加
- eclipse中spring配置文件的自动提示和命名空间的添加
- 添加xml文件自动提示方法,以spring配置文件为例
- 关于Myeclipse10中建立web工程添加spring配置文件出现红叉错误提示的问题
- MyEclipse添加xml文件自动提示方法,以spring配置文件为例
- 为Spring配置文件添加提示功能