Tomcat, web.xml and "[xX][mM][lL]" is not allowed


So, I had the following issue when trying to run my web application from Eclipse deploying to a local Tomcat.

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


It turned out that I had an empty line at the beginning of my web.xml!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply