-
Dec 11th, 2010, 03:19 AM
#1
Facing issues in XSD definition with spring-security-oauth-3.19.SS3.jar
Hi,
I am using spring-security-oauth-3.19.SS3.jar with Spring_Security_XXX_3.0.5.RELEASE.jar.
The code doesn't give any compilation error. However, when I try to configure my application context using <oauth
rovider> tags it throws following error:
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/security/spring-security-oauth2.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Declaration of XSDs in my application context look like this:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:security="http://www.springframework.org/schema/security"
xmlns:oauth="http://www.springframework.org/schema/security/oauth2"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schem...-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schem...curity-3.0.xsd
http://www.springframework.org/schema/security/oauth2
http://www.springframework.org/schema/security/spring-security-oauth2.xsd">
I have also tried this:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:security="http://www.springframework.org/schema/security"
xmlns:oauth="http://www.springframework.org/schema/security/oauth"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schem...-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schem...curity-3.0.xsd
http://www.springframework.org/schema/security/oauth
http://www.springframework.org/schema/security/oauth/spring-security-oauth-2.0.xsd">
but it also not worked.
Kindly help and let me the know the URL I should use while using spring-security-oauth-3.19.SS3.jar.
Thanks & Regards,
Bipul Sinha.
-
Dec 11th, 2010, 01:37 PM
#2
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