-
Aug 7th, 2012, 11:36 AM
#1
Spring data jpa schema validation error on repository complex type
Since this morning, we're experiencing a validation error in our Spring application context files with the
http://www.springframework.org/schema/data/jpa namespace
located at
http://www.springframework.org/schem...ng-jpa-1.0.xsd
The issue is in the underlying imported namespace
http://www.springframework.org/schema/data/repository
located at
http://www.springframework.org/schem...repository.xsd
as it no longer includes the repository complex type.
We assume spring-repository.xsd was recently updated (?) and the url is late bound.
Our current workaround is to explicitly point to version 1.0 (where repository is properly defined) in the application context xsi:schemaLocation by adding
http://www.springframework.org/schema/data/repository http://www.springframework.org/schem...sitory-1.0.xsd
It is unfortunate that Spring does not version namespace in sync with schema changes.
Comments/suggestions appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules