spring命名空间可以本地化吗??

[color=red] [size=large] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">

启动tomcat时,启动spring会自动去spring官网寻找文件,但是如果没有网络或者spring官网出现问题的话,就会报错cvc-elt.1: Cannot find the declaration of element 'beans',那么,可以将这些本地化吗?希望得到指点,再次先表示感谢![/size][/color]

兄弟,你用的是2.5的包吧!
不过你定义时使用了3.0所以会到网上去找,把3.0修改为2.0就可以了

[code="xml"]
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
[/code]

不能
你报错是因为少了个

[code="java"]xmlns:beans="http://www.springframework.org/schema/beans"[/code]