请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

schema_reference.4: Failed to read schema document


我遇到了这两个warnnings有好的解决办法吗,我都想了好久了,两个报错分别是
一,schema_reference.4: Failed to read schema document ‘http://www.springframework.org/schema/beans/spring-bean.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.
二,Stream not available
还请老师解答一下

正在回答 回答被采纳积分+3

1回答

翔仔 2019-09-08 19:55:29

同学好,warning的信息其实可以不用理会,对程序没有影响,

从字面意思上看,说是找不到这个xsd文件。先找到pom.xml里面,包含的spring包的版本,将schema里面改为spring- tx-版本号.xsd试试。  也就是说你声明的schema的版本号,不能比你包含的spring的包里面版本号要高,否则就是出现这个错误。

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号