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.
- relates to
-
WFLY-15956 Add "com.sun.faces:jsf-impl" to "wildfly-jakartaee8" bom
- Closed