sts springsourcetoolsuite - Spring Data JPA Configuration with STS -
i getting next problem while configuring spring info jpa in 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)
i getting error @ location on applicationcontext.xml file.
<?xml version="1.0" encoding="utf-8"?>
the error gets disappear when delete
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd
from
<beans ...>
and
<jpa:repositories ... />
tag xml.
have @ dialog
window > preferences > xml > xml catalog
1.click window > preferences , select xml > xml catalog.
2.click add together create new catalog entry.
details: location: d:\...\spring-framework-3.0.5.release\projects\org.springframework.beans\src\main\resources\org\springframework\beans\factory\xml\spring-beans-3.0.xsd key type: schema location key: http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
the other .xsd files have error in xml file's firist line must configured.
3.xml configuration follows:
<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 ... ..." >
4.editing <bean: ...>
, other elements automatical suggestions.
spring sts-springsourcetoolsuite spring-data-jpa
No comments:
Post a Comment