配置springmvc在xml中的提示

1、找到相应的.xsd文件,解压核心包搜索,对应的.xsd文件名称为spring-mvc-3.2.xsd

2、在Eclipse中配置上述文件

打开windows —Preference — XML — XML Catalog —选择右边栏中的 Add 按钮

  1. Key Type 选择 URI
  2. Key 中粘贴http://www.springframework.org/schema/mvc
  3. 点击 File System 按钮,找到spring-mvc-3.2.xsd 文件 ,点击OK

3、重新启动Eclipse后发现问题解决了

猜你喜欢

转载自blog.csdn.net/root_zhb/article/details/109183201