Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28265

WildFly 24 runtime: JSF taglibs missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.30.x
    • 4.21.0.Final
    • jsf, server
    • None
    • -

      When declaring the JSF tabligs in a JSP page, Eclipse cannot resolve them:

       

      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
          pageEncoding="ISO-8859-1"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      <html>
      ...

      The reason is that "wildfly-24.0.0.Final\modules\system\layers\base\com\sun\jsf-impl\main\jsf-impl-2.3.14.SP04.jar" is not added to the classpath - this jar file contains the TLD files.

      Workaround: create a "User library" referencing the JSF related files for WildFly and add it to the JSF facet, see screenshot.

       

       

       

            jmaury@redhat.com Jeff MAURY
            wolfgangknauf Wolfgang Knauf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: