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,...)的主要内容,如果未能解决你的问题,请参考以下文章