由xml约束引起的报错,即如何把约束(.xsd)文件导入MyEclipse中
在applicationContext.xml中我们有时候发现会报错,如下图。是因为有的约束在网上找不到,这时候需要我们自己手动导入约束文件.xsd。
以http://www.springframework.org/schema/beans/spring-beans.xsd约束为例。
在applicationContext.xml中我们有时候发现会报错,如下图。是因为有的约束在网上找不到,这时候需要我们自己手动导入约束文件.xsd。
以http://www.springframework.org/schema/beans/spring-beans.xsd约束为例。