看着配置应该是对的,可能是eclipse的cache的缘故没有重新加载xsd文件,同学可以依照这个链接解决
http://www.voidcn.com/article/p-dvzcxzte-on.html
如果还不行请继续提问,贴出后面出现的错误,为了保证配置是一致的,下面贴出的是我教程里的配置,同学可以参考一下
<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:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd">
PS:同学很有毅力,大晚上坚持学习