eclipse error pages dozen red X's solution

Build a Maven project into web project, there is always so many documents, and there will be a Error Pages fault red red cross, looking very unhappy.

 

 
Although the project did not appear in the wrong, the feeling was a mistake, the solution is as follows.
It turned out that eclipse their own problems, if you turn when web projects, an increase of web.xml, but the compiler does not update themselves, will be reported this error.
So, you can cut out all the information web.xml, preserved in the Ctrl + s, then the compiler will refresh, and then you put the contents back into the cut in web.xml, and finally solve the problem.


Guess you like

Origin www.cnblogs.com/pxuan/p/11854964.html