Description Resource Path Location Type
Referenced file contains errors (http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd). For more information, right click on the message in the Problems View and select "Show Details..." web.xml /bbs-ssmv2.0/src/main/webapp/WEB-INF line 1 XML Problem
解决方法:
原本这里是4行的,回车弄成5行(很傻瓜,对于检错却很实用)
错误消失.
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID"
version="2.5">