1

在我的项目中使用 IntelliJ,我有这个路径 bundle/src/main/resources/META-INF/cet-tags.tld

cet-tags.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 http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
        version="2.0">
    <tlib-version>3.0</tlib-version>
    <short-name>cet</short-name>
    <uri>http://www.sample.com/sample/taglib</uri>
    <tag>
</tag>

当我打开页面时,页面显示 jasper 异常: JasperException: page.jsp(4,0) 绝对 uri: http://www.sample.com/sample/taglib无法在 web.xml 或使用此应用程序部署的 jar 文件

4

0 回答 0