I want to create a custom tag, but I get a "XML parsing error" in the JSPVersion line. I check the JSP version, exactly 2.1. I think the error is in the links.
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd"> <tlib-version>1.0</tlib-version> <jsp-version>2.1</jsp-version>
Can anyone help me? Thanks
UPD / ERROR MESSAGE: org.apache.jasper.JasperException: cannot initialize TldLocationsCache: org.apache.jasper.JasperException: XML parsing error in file / WEB -INF / tlds / tag.tld: (line 11, col 2)
source share