Spring配置文件报错:Multiple annotations found at this line: - Element type "beans" must be followed by either attribute specifications, ">" or "/>". - Start tag of element <beans>

spring配置文件遇到如下提示:

Multiple annotations found at this line:
- Element type "beans" must be followed by either attribute specifications, ">"
or "/>".
- Start tag of element <beans>

解决问题:

第二行最后多余两个空个

 去掉那个空格就好了,这样的情况也可能版本不一致会出现,我这就是多了两个空格

原文地址:https://www.cnblogs.com/jumpkin1122/p/11561299.html