On JBoss server I have a slice_new.tag file
<%@ attribute name="action" %>
<%@ attribute name="icon" %>
<%@ attribute name="pageId" %>
<%@ attribute name="cost" %>
<%@ attribute name="co2" %>
<%@ attribute name="unit" %>
<%@ tag language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<title>${action}</title>
</head>
<body> ...
But I get this compilation error
The superclass "javax.servlet.jsp.tagext.SimpleTagSupport" was not found on the Java Build Path slice_new.tag
Please help me to fix it?
I recently solved this using the instructions from this site. Assuming you are using Eclipse: Right click on your project, select “Properties” -> “Project Facets” -> “Runtimes” , select your runtime container. Done, rebuild and refresh your project. See the link for screenshots.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With