Referenced file contains errors (http://cxf.apache.org/schemas/jaxws.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
在Eclipse中有一个J2EE工程,之前是好好的,一段时间没去搭理。
有一天打开Eclipse,发现J2EE工程报红x, 打开工程一看,其中一个spring的配置文件报上面那串错误。
这个实际上是由Eclipse的cache导致的,解决方案如下:
Window>Proferences>General>Network Connections>Cache>remove all
在报x的配置文件上,随便找个地方改动一下,比如按个回车添加一个空行,再删除空行,保存一下,红x就消失了