加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

java – Spring Beans Schema在Web上不再可用?

发布时间:2020-12-15 01:38:32 所属栏目:大数据 来源:网络整理
导读:在我的浏览器中访问http://www.springframework.org/schema/beans/spring-beans-3.1.xsd会产生403. 在浏览器中访问http://www.springframework.org/schema/security/spring-security-3.1.xsd会返回有效的架构 那我错过了什么?这是暂时的问题吗?或者将bean

在我的浏览器中访问http://www.springframework.org/schema/beans/spring-beans-3.1.xsd会产生403.

在浏览器中访问http://www.springframework.org/schema/security/spring-security-3.1.xsd会返回有效的架构…

那我错过了什么?这是暂时的问题吗?或者将bean模式移动到其他地方?

最佳答案
我有同样的问题,似乎互联网上的公共架构不可用.

我更改了架构位置以在类路径上使用xsd,例如

http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

成为:

classpath:/org/springframework/beans/factory/xml/spring-beans-3.0.xsd

并修复了它.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读