jsp 自定义标签 错误 : Unable to compile class for JSP: ,apache cannot be resolved or is not a field

来源:互联网 发布:js控制display显示 编辑:程序博客网 时间:2024/06/06 14:23

jsp,自定义tag,在jetty服务器下正常,

在tomcat 下 报如标题错误,

原因是,标签的参数类型没有指定,

<%@ attribute name="rszwId"      type="java.lang.String"     required="false"  rtexprvalue="true"  description="******"%>

如果 type 属性没有指定,就会报如题错误

阅读全文
0 0
原创粉丝点击