web.xml文件报错:The processing instruction target matching "[xX][mM][lL]" is not allowed.

昨晚把我的项目上传到了gitlab,然后今天在公司从gitlab下载下来,

发现web.xml报错.

报错内容:

The processing instruction target matching "[xX][mM][lL]" is not allowed.

解决办法:

去掉下图中的空格即可

原文地址:https://www.cnblogs.com/draenei/p/4788863.html