[ 
https://issues.apache.org/jira/browse/NETBEANS-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458548#comment-17458548
 ] 

Daniel Salas commented on NETBEANS-3048:
----------------------------------------

Workaround doesn't work on custom tag file, because page directive cannot be 
used in a tag file.

> Spurious warning "Unable to load tag handler class"
> ---------------------------------------------------
>
>                 Key: NETBEANS-3048
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3048
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javaee - JSP
>    Affects Versions: 11.0
>         Environment: Windows 10
>            Reporter: Brian Baldwin
>            Priority: Minor
>              Labels: taglib
>
> From [https://netbeans.org/bugzilla/show_bug.cgi?id=268678]
> Highlights:
>  * get warning 'Unable to load tag handler class "[class name]" for tag 
> "<[prefix]:[tagname]>"'
>  * Workaround:  add
> {code:java}
> <%@page pageEncoding="UTF-8"%>
> {code}
>  to top of each jsp
> The work-around mentioned works, except I also found I had to remove the 
> following from web.xml in order to avoid the spurious warning.
> {code:java}
>    <jsp-config>
>         <jsp-property-group>
>             <url-pattern>*.jsp</url-pattern>
>             <page-encoding>UTF-8</page-encoding>
>         </jsp-property-group>
>     </jsp-config>
> {code}
> Documenting this additional work-around hoping it will help someone else.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to