Description Resource Path Location Type Attribute "xsi:schemaLocation" must be d

论坛 期权论坛 脚本     
匿名技术用户   2020-12-28 15:37   37   0

【springmvc配置xml文件时Errors报错解决】

新建一个web项目后,首先加入了jar包,然后在WEB-INF文件夹下新建一个web.xml文件,在网上可以找到完整配置;接着在src文件夹下建立自己的包,和springmvc.xml文件。这次问题主要是提示Description Resource Path Location Type
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd). For more information, right click on the message in the Problems View and select "Show Details..." springmvc.xml /springmvc02/src line 1 XML Problem
错误。如图:

然后将第7行http://www.springframework.org/schema/beans/spring-beans.xsd 的beans修改为beans-3.1.xsd。错误排除,结果如图:

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP