Visiting http://www.springframework.org/schema/beans/spring-beans-3.1.xsd in my browser produces a 403.
Visiting http://www.springframework.org/schema/security/spring-security-3.1.xsd in my browser returns a valid schema...
So what am I missing? Is this a transient issue? Or have the beans schemas moved somewhere else?
I had the same problem, it appears that the public schemas on the internet are unavailable.
I changed the schema location to use the xsd on the classpath e.g.
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
became:
classpath:/org/springframework/beans/factory/xml/spring-beans-3.0.xsd
and that fixed it.
For what it's worth, the public schema is back at 11:00 am eastern on May 21.
See also this question.
You're not missing anything though, you have the correct url and they have a (presumably fixable) problem on their end.
In the long run however you should probably configure your app not to have dependecy to an http url, but rather store and refer the schemas locally.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With