Mandatory TLD element jsp-version missing or empty in TLD /WEB-INF/simple.tld

<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" verson="2.0">
 
 <span style="color:#ff0000;"><tlib-version>1.0</tlib-version>
 <jspversion>1.1</jspversion>//如果缺少,会导致以上的错误</span>。
 <short-name>my</short-name>
 <display-name>My Tag</display-name>
 <description>Custom Tag Library</description>
 <tag>
  <name>hello</name>
  <tag-class>com.ren.www.HelloTag</tag-class>
  <body-content>empty</body-content>
 </tag>
</taglib> 

你可能感兴趣的:(Mandatory TLD element jsp-version missing or empty in TLD /WEB-INF/simple.tld)