You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Braun <br...@gmail.com> on 2011/05/19 17:16:03 UTC

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Hi,

I feel like a rookie, But I will ask for help on this. I will swallow my
pride.
I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
development and in production. I started using JSTL1.2 today. When I run my
app, I get this response:

javax.servlet.ServletException: java.lang.NoClassDefFoundError:
javax/servlet/jsp/jstl/core/LoopTag
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
I already added the file "jstl-impl-1.2.jar" to my "lib" path, which is
"C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I confirmed
that when Eclipse is deploying my app, it is deloying the JST JAR. I also
put this declaration on top of my JSP file:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

So how can that class not be found?

Thanks in advace,

Brian

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian,

On 5/19/2011 12:02 PM, Brian Braun wrote:
> I think I just understood what was the problem: The file that was missing
> contains all the intarfaces and abstract classes that declare what needs to
> be implemented, and the other file (that comes from Apache) implements it. I
> just downloaded the second file in the beginning.

Tomcat does not implement JSTL... you have to download both the "api"
and the "impl" libraries and install them both in your webapp in order
to use them.

As far as Tomcat is concerned, JSTL is a 3rd-party library.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3VfyAACgkQ9CaO5/Lv0PBYFgCggmW49PxBsSYf6oMnQRs48v72
AR8AoIwKrvA3O1kx3zTbsopAtd6N2JbX
=aKFT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Brian Braun <br...@gmail.com>.
I think I just understood what was the problem: The file that was missing
contains all the intarfaces and abstract classes that declare what needs to
be implemented, and the other file (that comes from Apache) implements it. I
just downloaded the second file in the beginning.



On Thu, May 19, 2011 at 10:35 AM, Brian Braun <br...@gmail.com> wrote:

> Thanks Mark, that was the problem! Now it runs.
>
> I'm starting to think that you know more about java than I do
> ;-)
>
>
>
> On Thu, May 19, 2011 at 10:33 AM, Mark Thomas <ma...@apache.org> wrote:
>
>> On 19/05/2011 16:30, Brian Braun wrote:
>> > Hi Mark,
>> >
>> > Do I also need to deploy that file?
>>
>> Almost certainly since that is where I would expect to find the missing
>> class.
>>
>> Mark
>>
>> >
>> > On Thu, May 19, 2011 at 10:28 AM, Mark Thomas <ma...@apache.org> wrote:
>> >
>> >> On 19/05/2011 16:26, Brian Braun wrote:
>> >>> I did.
>> >>
>> >> Isn't there a jstl-api-1.2.jar you need as well?
>> >>
>> >> Mark
>> >>
>> >>>
>> >>> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel <yu...@live.co.za>
>> wrote:
>> >>>
>> >>>> Either that classis part of a lib that must be included in your
>> >> WEB-INF/lib
>> >>>> or in your $CATALINA_HOME/lib directory or it needs to be included in
>> >> your
>> >>>> zipped up web app(.war).
>> >>>>
>> >>>> -----Original Message----- From: Brian Braun
>> >>>> Sent: Thursday, May 19, 2011 5:16 PM
>> >>>> To: Tomcat Users List
>> >>>> Subject: java.lang.NoClassDefFoundError:
>> >>>> javax/servlet/jsp/jstl/core/LoopTag
>> >>>>
>> >>>>
>> >>>> Hi,
>> >>>>
>> >>>> I feel like a rookie, But I will ask for help on this. I will swallow
>> my
>> >>>> pride.
>> >>>> I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both
>> in
>> >>>> development and in production. I started using JSTL1.2 today. When I
>> run
>> >> my
>> >>>> app, I get this response:
>> >>>>
>> >>>> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
>> >>>> javax/servlet/jsp/jstl/core/LoopTag
>> >>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
>> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>> >>>>
>> >>>>
>> >>
>> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> >>>>
>> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>> >>>>
>> >>>>
>> >>
>> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>> >>>>
>> >>>>
>> >>
>> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>> >>>>
>> >>>>
>> >>
>> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
>> >>>>
>> >>>>
>> >>
>> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
>> >>>>
>> >>>>
>> >>
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
>> >>>>
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>> >>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>> >>>>
>> >>>>
>> >>
>> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> >>>>
>> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>> >>>>
>> >>>>
>> >>
>> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>> >>>>
>> >>>>
>> >>
>> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>> >>>> I already added the file "jstl-impl-1.2.jar" to my "lib" path, which
>> is
>> >>>> "C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I
>> >> confirmed
>> >>>> that when Eclipse is deploying my app, it is deloying the JST JAR. I
>> >> also
>> >>>> put this declaration on top of my JSP file:
>> >>>> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
>> >>>>
>> >>>> So how can that class not be found?
>> >>>>
>> >>>> Thanks in advace,
>> >>>>
>> >>>> Brian
>> >>>>
>> >>>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> >>>> For additional commands, e-mail: users-help@tomcat.apache.org
>> >>>>
>> >>>>
>> >>>
>> >>
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> >> For additional commands, e-mail: users-help@tomcat.apache.org
>> >>
>> >>
>> >
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Brian Braun <br...@gmail.com>.
Thanks Mark, that was the problem! Now it runs.

I'm starting to think that you know more about java than I do
;-)



On Thu, May 19, 2011 at 10:33 AM, Mark Thomas <ma...@apache.org> wrote:

> On 19/05/2011 16:30, Brian Braun wrote:
> > Hi Mark,
> >
> > Do I also need to deploy that file?
>
> Almost certainly since that is where I would expect to find the missing
> class.
>
> Mark
>
> >
> > On Thu, May 19, 2011 at 10:28 AM, Mark Thomas <ma...@apache.org> wrote:
> >
> >> On 19/05/2011 16:26, Brian Braun wrote:
> >>> I did.
> >>
> >> Isn't there a jstl-api-1.2.jar you need as well?
> >>
> >> Mark
> >>
> >>>
> >>> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel <yu...@live.co.za>
> wrote:
> >>>
> >>>> Either that classis part of a lib that must be included in your
> >> WEB-INF/lib
> >>>> or in your $CATALINA_HOME/lib directory or it needs to be included in
> >> your
> >>>> zipped up web app(.war).
> >>>>
> >>>> -----Original Message----- From: Brian Braun
> >>>> Sent: Thursday, May 19, 2011 5:16 PM
> >>>> To: Tomcat Users List
> >>>> Subject: java.lang.NoClassDefFoundError:
> >>>> javax/servlet/jsp/jstl/core/LoopTag
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> I feel like a rookie, But I will ask for help on this. I will swallow
> my
> >>>> pride.
> >>>> I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
> >>>> development and in production. I started using JSTL1.2 today. When I
> run
> >> my
> >>>> app, I get this response:
> >>>>
> >>>> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
> >>>> javax/servlet/jsp/jstl/core/LoopTag
> >>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>>>
> >>>>
> >>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> >>>>
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
> >>>>
> >>>>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
> >>>>
> >>>>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
> >>>>
> >>>>
> >>
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
> >>>>
> >>>>
> >>
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
> >>>>
> >>>>
> >>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
> >>>>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> >>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>>>
> >>>>
> >>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> >>>>
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
> >>>>
> >>>>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
> >>>>
> >>>>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
> >>>> I already added the file "jstl-impl-1.2.jar" to my "lib" path, which
> is
> >>>> "C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I
> >> confirmed
> >>>> that when Eclipse is deploying my app, it is deloying the JST JAR. I
> >> also
> >>>> put this declaration on top of my JSP file:
> >>>> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
> >>>>
> >>>> So how can that class not be found?
> >>>>
> >>>> Thanks in advace,
> >>>>
> >>>> Brian
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >>>> For additional commands, e-mail: users-help@tomcat.apache.org
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Mark Thomas <ma...@apache.org>.
On 19/05/2011 16:30, Brian Braun wrote:
> Hi Mark,
> 
> Do I also need to deploy that file?

Almost certainly since that is where I would expect to find the missing
class.

Mark

> 
> On Thu, May 19, 2011 at 10:28 AM, Mark Thomas <ma...@apache.org> wrote:
> 
>> On 19/05/2011 16:26, Brian Braun wrote:
>>> I did.
>>
>> Isn't there a jstl-api-1.2.jar you need as well?
>>
>> Mark
>>
>>>
>>> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel <yu...@live.co.za> wrote:
>>>
>>>> Either that classis part of a lib that must be included in your
>> WEB-INF/lib
>>>> or in your $CATALINA_HOME/lib directory or it needs to be included in
>> your
>>>> zipped up web app(.war).
>>>>
>>>> -----Original Message----- From: Brian Braun
>>>> Sent: Thursday, May 19, 2011 5:16 PM
>>>> To: Tomcat Users List
>>>> Subject: java.lang.NoClassDefFoundError:
>>>> javax/servlet/jsp/jstl/core/LoopTag
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I feel like a rookie, But I will ask for help on this. I will swallow my
>>>> pride.
>>>> I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
>>>> development and in production. I started using JSTL1.2 today. When I run
>> my
>>>> app, I get this response:
>>>>
>>>> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
>>>> javax/servlet/jsp/jstl/core/LoopTag
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>>
>>>>
>> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>>>> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>>>>
>>>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>>>>
>>>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>>>>
>>>>
>> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
>>>>
>>>>
>> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
>>>>
>>>>
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
>>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>>
>>>>
>> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>>>> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>>>>
>>>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>>>>
>>>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>>>> I already added the file "jstl-impl-1.2.jar" to my "lib" path, which is
>>>> "C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I
>> confirmed
>>>> that when Eclipse is deploying my app, it is deloying the JST JAR. I
>> also
>>>> put this declaration on top of my JSP file:
>>>> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
>>>>
>>>> So how can that class not be found?
>>>>
>>>> Thanks in advace,
>>>>
>>>> Brian
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Brian Braun <br...@gmail.com>.
Hi Mark,

Do I also need to deploy that file?

On Thu, May 19, 2011 at 10:28 AM, Mark Thomas <ma...@apache.org> wrote:

> On 19/05/2011 16:26, Brian Braun wrote:
> > I did.
>
> Isn't there a jstl-api-1.2.jar you need as well?
>
> Mark
>
> >
> > On Thu, May 19, 2011 at 10:24 AM, Yucca Nel <yu...@live.co.za> wrote:
> >
> >> Either that classis part of a lib that must be included in your
> WEB-INF/lib
> >> or in your $CATALINA_HOME/lib directory or it needs to be included in
> your
> >> zipped up web app(.war).
> >>
> >> -----Original Message----- From: Brian Braun
> >> Sent: Thursday, May 19, 2011 5:16 PM
> >> To: Tomcat Users List
> >> Subject: java.lang.NoClassDefFoundError:
> >> javax/servlet/jsp/jstl/core/LoopTag
> >>
> >>
> >> Hi,
> >>
> >> I feel like a rookie, But I will ask for help on this. I will swallow my
> >> pride.
> >> I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
> >> development and in production. I started using JSTL1.2 today. When I run
> my
> >> app, I get this response:
> >>
> >> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
> >> javax/servlet/jsp/jstl/core/LoopTag
> >> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>
> >>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> >> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
> >>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
> >>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
> >>
> >>
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
> >>
> >>
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
> >>
> >>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
> >> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> >> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>
> >>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> >> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
> >>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
> >>
> >>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
> >> I already added the file "jstl-impl-1.2.jar" to my "lib" path, which is
> >> "C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I
> confirmed
> >> that when Eclipse is deploying my app, it is deloying the JST JAR. I
> also
> >> put this declaration on top of my JSP file:
> >> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
> >>
> >> So how can that class not be found?
> >>
> >> Thanks in advace,
> >>
> >> Brian
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Mark Thomas <ma...@apache.org>.
On 19/05/2011 16:26, Brian Braun wrote:
> I did.

Isn't there a jstl-api-1.2.jar you need as well?

Mark

> 
> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel <yu...@live.co.za> wrote:
> 
>> Either that classis part of a lib that must be included in your WEB-INF/lib
>> or in your $CATALINA_HOME/lib directory or it needs to be included in your
>> zipped up web app(.war).
>>
>> -----Original Message----- From: Brian Braun
>> Sent: Thursday, May 19, 2011 5:16 PM
>> To: Tomcat Users List
>> Subject: java.lang.NoClassDefFoundError:
>> javax/servlet/jsp/jstl/core/LoopTag
>>
>>
>> Hi,
>>
>> I feel like a rookie, But I will ask for help on this. I will swallow my
>> pride.
>> I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
>> development and in production. I started using JSTL1.2 today. When I run my
>> app, I get this response:
>>
>> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
>> javax/servlet/jsp/jstl/core/LoopTag
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>
>> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>>
>> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
>>
>> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
>>
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>
>> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>>
>> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>> I already added the file "jstl-impl-1.2.jar" to my "lib" path, which is
>> "C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I confirmed
>> that when Eclipse is deploying my app, it is deloying the JST JAR. I also
>> put this declaration on top of my JSP file:
>> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
>>
>> So how can that class not be found?
>>
>> Thanks in advace,
>>
>> Brian
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Brian Braun <br...@gmail.com>.
I did.

On Thu, May 19, 2011 at 10:24 AM, Yucca Nel <yu...@live.co.za> wrote:

> Either that classis part of a lib that must be included in your WEB-INF/lib
> or in your $CATALINA_HOME/lib directory or it needs to be included in your
> zipped up web app(.war).
>
> -----Original Message----- From: Brian Braun
> Sent: Thursday, May 19, 2011 5:16 PM
> To: Tomcat Users List
> Subject: java.lang.NoClassDefFoundError:
> javax/servlet/jsp/jstl/core/LoopTag
>
>
> Hi,
>
> I feel like a rookie, But I will ask for help on this. I will swallow my
> pride.
> I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
> development and in production. I started using JSTL1.2 today. When I run my
> app, I get this response:
>
> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
> javax/servlet/jsp/jstl/core/LoopTag
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
>
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
> I already added the file "jstl-impl-1.2.jar" to my "lib" path, which is
> "C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I confirmed
> that when Eclipse is deploying my app, it is deloying the JST JAR. I also
> put this declaration on top of my JSP file:
> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
>
> So how can that class not be found?
>
> Thanks in advace,
>
> Brian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Posted by Yucca Nel <yu...@live.co.za>.
Either that classis part of a lib that must be included in your WEB-INF/lib 
or in your $CATALINA_HOME/lib directory or it needs to be included in your 
zipped up web app(.war).

-----Original Message----- 
From: Brian Braun
Sent: Thursday, May 19, 2011 5:16 PM
To: Tomcat Users List
Subject: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

Hi,

I feel like a rookie, But I will ask for help on this. I will swallow my
pride.
I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
development and in production. I started using JSTL1.2 today. When I run my
app, I get this response:

javax.servlet.ServletException: java.lang.NoClassDefFoundError:
javax/servlet/jsp/jstl/core/LoopTag
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
I already added the file "jstl-impl-1.2.jar" to my "lib" path, which is
"C:\EclipseTomcat7Labs\webapps\VistaControlador\WEB-INF\lib". I confirmed
that when Eclipse is deploying my app, it is deloying the JST JAR. I also
put this declaration on top of my JSP file:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

So how can that class not be found?

Thanks in advace,

Brian 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org