(RESOLVED) How to use taglibs in a .war portlet project (Lomboz)(RESOLVED) How to use taglibs in a .war portlet project (Lomboz)https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=4344362024-03-29T08:16:29Z2024-03-29T08:16:29ZRE: Re: [Liferay Forums][3. Development]How to use taglibs in a .war portleDaniel Rodriguezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=4359422008-01-29T16:56:52Z2008-01-29T16:56:52ZThank you really really much!<br /><br />Maybe is something basic, but I've been so long looking for the solution...<br /><br />Thanks again!Daniel Rodriguez2008-01-29T16:56:52ZRe: [Liferay Forums][3. Development]How to use taglibs in a .war portlet prRay Augéhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=4354912008-01-29T14:24:51Z2008-01-29T14:24:51Z> Looks like is not getting correctly the .tld file, but I checked in<br />> the webapps folder and is correctly placed. I am a little bit blocked<br />> here and I cannot go on without taglibs. Any help about this will be<br />> really appreciated.<br />> <br /><br />Actually, I <em>think</em> you're missing the jstl jars in your portlet's<br />WEB-INF/lib folder. <br /><br />Try that first...Ray Augé2008-01-29T14:24:51Z(RESOLVED) How to use taglibs in a .war portlet project (Lomboz)Daniel Rodriguezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=4344352008-01-29T09:59:36Z2008-01-29T09:59:36Z<html><head></head><body>Hello all,<br><br>I'm starting to create a new portlet in Eclipse Lomboz for Liferay 4.4.0 running over Tomcat 6.0. My idea is to create a .war portlet, so following the instructions from Eclipse Lomboz I have a basic portlet correctly running. My problem appears when I want to use JSTL taglibs. I think I imported them correctly but then the portlet shows an error message.<br><br>I add this lines in my web.xml<br><pre><code> <taglib>
<taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/c-rt.tld</taglib-location>
</taglib></code></pre><br><br>And this at the beginning of my .jsp file:<br><pre><code>&lt;%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %&gt;</code></pre><br><br>To after be able to use taglibs as:<br><pre><code><c:choose>
<c:when test="<%= renderRequest.getWindowState().toString().equalsIgnoreCase(" normal") %>"&gt;
[...]
</c:when></c:choose></code></pre><br><br>Then I deploy the .war with the export tool and I get this error messsage:<br><pre><code>Nested Exception is org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
[...]
09:47:02,969 ERROR [jsp:52] java.lang.ClassNotFoundException: org.apache.taglibs.standard.tlv.JstlCoreTLV
</code></pre><br><br>Looks like is not getting correctly the .tld file, but I checked in the webapps folder and is correctly placed. I am a little bit blocked here and I ca