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

Spring中的錯誤:

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


原因:很簡單xml的的第一行在第二行去了。空行了。所以出現了匹配錯誤。空行和空格都會出現類似的錯誤,所以下次做的時候一定要注意。


任何XML如果首行出現空行,都會出現此錯誤,我目前所見到的都是這樣的

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章