标签:
在开启java服务器程序时候,web.xml中一直有各种各样错误,查找解决方案好久,都没有靠谱的,头大。忽然看到一条,司马当成活马医:http://stackoverflow.com/questions/13437569/what-does-this-web-xml-error-mean,其中一条解决方案如下:
replace
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
with
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee;http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
The solution is that you have to put semicolon between URLs
I am sure you will not get the error again :)
很好,try it and all errors gone. solved perfectly.
标签:
原文地址:http://www.cnblogs.com/playerboy/p/4229302.html