TiGz
TiGz

Reputation: 924

Spring Beans Schema no longer available on the Web?

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?

Upvotes: 5

Views: 3420

Answers (3)

David Levy
David Levy

Reputation: 158

For what it's worth, the public schema is back at 11:00 am eastern on May 21.

Upvotes: 2

Daniel Vaughan
Daniel Vaughan

Reputation: 666

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.

Upvotes: 8

eis
eis

Reputation: 53462

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.

Upvotes: 1

Related Questions