我对java和学习JSP标记库都很陌生。在创建".tld“文件时,我得到了这个错误,只是不知道出了什么问题。
这是我的密码
<?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">
<taglib> //this tag got the problem
<tlib-version>1.0</tlib-version>
<jsp-version>1.0</jsp-version>
<short-name>st</short-name>
<tag>
<name></name>
</tag>
</taglib>全错误信息
Error while downloading 'http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd' to C:\Users\Dell\.lemminx\cache\http\java.sun.com\j2ee\dtd\web-jsptaglibrary_1_2.dtd.如果你知道的话,请帮我把这件事做好,谢谢。
发布于 2022-07-23 07:49:16
<taglib>
//put empty line
<tlib-version>1.0</tlib-version>
<jsp-version>1.0</jsp-version>
<short-name>st</short-name>
<uri></uri>
<tag>
<name>MyDate</name>
<tag-class>com.isuru.PrintDateTag</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>https://stackoverflow.com/questions/65976802
复制相似问题