Referenced file contains errors (project-aware://maven_demo1/org/springframework/beans/factory/xml/s
·
在配置文件出现如下错误
Referenced file contains errors (project-aware://maven_demo1/org/springframework/beans/factory/xml/spring-beans-4.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
这种错误是属于配置文件的验证错误,实际上并不影响项目的正常运行.新建的maven项目可以跑通,但过一会配置文件就会报此错,经过几番查阅,找到了解决办法。
操作步骤:Window--> Preferences 搜索 Validation

经过如上错误,配置文件不再报错了
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)