Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3048

Spurious warning "Unable to load tag handler class"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.0
    • None
    • javaee - JSP
    • Windows 10

    Description

      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
        <%@page pageEncoding="UTF-8"%>
        

         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.

         <jsp-config>
              <jsp-property-group>
                  <url-pattern>*.jsp</url-pattern>
                  <page-encoding>UTF-8</page-encoding>
              </jsp-property-group>
          </jsp-config>
      

      Documenting this additional work-around hoping it will help someone else.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbdwin Brian Baldwin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: