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