日期:2014-05-17  浏览次数:20687 次

菜鸟求帮助spring配置文件的标签怎么不出来?
<?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:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop" 
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/chema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/chema/spring-tx-2.5.xsd">



为什么TX标签 和 aop标签没有?
------解决方案--------------------
。。。TX和 aop是标签?
直接在beans里面加bean标签就O了啊
------解决方案--------------------
windows - perference - xml -xml catalog 添加spring 的dtd文件