taglib报错The content of element type "taglib" must match "(tlib-version,...)

Posted 大象O无形

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了taglib报错The content of element type "taglib" must match "(tlib-version,...)相关的知识,希望对你有一定的参考价值。

<?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">

<taglib >

...

改成这样就不报错了:

------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>  
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"  
    version="2.0">  

以上是关于taglib报错The content of element type "taglib" must match "(tlib-version,...)的主要内容,如果未能解决你的问题,请参考以下文章

mybatis配置文件,注意标签配置顺序。否则报错The content of element type "configuration" must match "(pro

Failed to check the status of the service报错解决

Vue踩坑-because it violates the following Content Security Policy directive

错误记录Android Studio 创建报错 ( The length of the module location exceeds the limit of 100 characters. )(代

错误记录Android Studio 创建报错 ( The length of the module location exceeds the limit of 100 characters. )(代

IDE报错 hdc_std version of the SDK does not match the hdcd version of the device.