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

报错:The processing instruction target matching “[xX][mM][lL]” is not allowed.
在写struts配置文件struts.xml时<?xml version="1.0" encoding="UTF-8" ?>报错:The processing instruction target matching "[xX][mM][lL]" is not allowed.


解决方式(适用于所有.xml)
将<?xml version="1.0" encoding="UTF-8" ?>前多余的注释、空格和空行等去掉即可。


————————————————
版权声明:本文为CSDN博主「皮卡皮卡~」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/y_universe/article/details/93658461

上一篇:Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules


下一篇:猫猫processing