0
而在STS春数据JPA配置与STS
Referenced file contains errors (jar:file:/.../war/WEB-INF/lib/spring-
context-3.0.RELEASE.jar!/org/springframework/context/config/spring-context-3.0.xsd).
- Referenced file contains errors (jar:file:/.../war/WEB-INF/lib/spring-
beans-3.0.RELEASE.jar!/org/springframework/beans/factory/xml/spring-beans-3.0.xsd).
- Referenced file contains errors (jar:file:/.../war/WEB-INF/lib/spring-
beans-3.0.RELEASE.jar!/org/springframework/beans/factory/xml/spring-tool-3.0.xsd)
我得到这个错误在我applicationContext.xml文件这个位置配置Spring数据JPA我得到以下问题。
<?xml version="1.0" encoding="UTF-8"?>
误差会消失,当我从XML
<beans ...>
和
<jpa:repositories ... />
标签删除
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd
。
您使用哪个STS版本? – Ralph 2013-02-18 09:53:53
我正在使用STS 3.1 – zdesam 2013-02-18 10:06:22
我也收到警告**无效的NamespaceHandler类[org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler]为 命名空间[http://www.springframework.org/schema/data/jpa]:处理程序类文件或依赖类出现问题**在 location中 –
zdesam
2013-02-18 10:08:11