XML文件首行代码报错:<?xml version="1.0" encoding="UTF-8"?>
运行eclipse或者Myeclipse出现问题如下。
Referenced file contains errors (https://www.springframework.org/schema/beans/spring-beans-4.2.xsd). For more information, right click on
the message in the Problems View and select “Show Details…”
解决办法:
发现是spring-beans.xsd与下边版本不统一,修改后即可。
改为spring-beans-4.2.xsd不报错。亲测有效!