<?xml version=”1.0” encoding=”UTF-8”?>
    <!DOCTYPE taglib PUBLIC “-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN”
    http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">



    改成这样就不报错了:
    ——————————————————————————————————————————
    <?xml version=”1.0” encoding=”UTF-8” ?>
    xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd”
    version=”2.0”>

    https://www.cnblogs.com/chry/p/6367076.html