I’m experiencing this problem too.
I’m using the “MyEclipse Visual JSP Designer” editor.
How to reproduce this bug is detailed bellow.
In the JSP :
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ee" uri="http://example.com/execenv" %>
<c:out value="${ee:getExecEnvType()}"/>
In the “META-INF/execenvtags.tld” file :
<?xml version="1.0" encoding="UTF-8"?>
<taglib version="2.1" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-jsptaglibrary_2_1.xsd">
<tlib-version>1.0</tlib-version>
<short-name>Execution Environment tags</short-name>
<uri>http://example.com/execenv</uri>
<function>
<description>Returns the current execution environment type (i.e. DEVEL, TEST, HOMOLO, or PROD)</description>
<display-name>getExecEnvType</display-name>
<name>getExecEnvType</name>
<function-class>com.example.executionenvironment.ElFunctions</function-class>
<function-signature>java.lang.String getExecEnvType()</function-signature>
</function>
</taglib>
And in the “ElFunctions.java” file, of the “com.example.executionenvironment” package, getExecEnvType() is a static method taking no parameters and returning some java.lang.String, whatever it is.