ssm框架spring-mvc.xml和spring-mybatis.xml报错项目无法正常启动问题

报错信息

Multiple annotations found at this line:
- Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd). For more information, right click on the message in the Problems View
and select "Show Details..."
- Referenced file contains errors (http://www.springframework.org/schema/tx/spring-tx-4.1.xsd). For more information, right click on the message in the Problems View and
select "Show Details..."
- Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-4.1.xsd). For more information, right click on the message in the
Problems View and select "Show Details..."

 

 

情况描述

新导入的项目报错,原因未知,网上有人说是因为版本问题不过我并没有修改版本就好了……

解决方案

做任何修改然后撤销修改,重新保存,报错消失重新编译项目启动成功

 

 

emmmm…我又导了一次按照这个方法报错没有消失,但是启动项目没有报错……丢你雷姆mmp

 

 

 

不想说啥了,又出现这个错误,按照网上说的加上<xml-body></xml-body>之后运行项目然后去掉在运行成功启动项目

猜测可能是加上标签之后项目启动的时候加载了什么东西然后才能成功启动项目

 

转载于:https://www.cnblogs.com/mxxq/p/11399198.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值