custom tag 'cannot be resolved to a type'

Posted by lotus99t on Stack Overflow See other posts from Stack Overflow or by lotus99t
Published on 2010-03-31T20:31:12Z Indexed on 2010/03/31 20:33 UTC
Read the original article Hit count: 351

Filed under:
|
|

I have a custom tag, packaged into a library jar that is included in my web apps war file.

I get the following error:

An error occurred at line: 66 in the jsp file: /WEB-INF/jsp/portlet/portfolio/operations/operationsInfo.jsp
org.apache.jsp.tag.meta.form.WidgetFactory_tag cannot be resolved to a type
63:       <c:forEach var="fldCfg" items="${config.page.fields}" >
64:          <tr>
65:             <td><form:Label fld="${fldCfg}"/></td>
66:             <td><form:WidgetFactory fld="${fldCfg}" decodesMap="${decodesMap}" command="${operationsInfoBean}" dateFormat="${preferredDateFormat}"/></td>
67:          </tr>
68:       </c:forEach>
69:   </table>

But it doesn't seem to complain about Label which is in the same taglib. I've confirmed that the jar is in the war and that the tag file is in the jar and the that the TLD (in META-INF) expressly defines 'WidgetFactory'

Why am I getting this error?

© Stack Overflow or respective owner

Related posts about jsp

Related posts about taglib