日期:2014-05-18  浏览次数:20715 次

spring的配置文件加完约束怎么没变小叶子
为什么打开方式还是xml的一般的打开方式呢,我已经加完约束了,而struts2和hibernate在加完约束之后,就可以自动改变打开方式。
难道是我加的约束有问题吗?
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
               http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
求解啊,我看老师的自动变了

------解决方案--------------------
你装个spring插件就会变小叶子了
------解决方案--------------------
看看你的命名空间是否正确。。。