You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steven Crosley <st...@mac.com> on 2007/11/26 19:07:29 UTC
servlet-api.jar jsp path is empty
Hi,
I was getting this error from my app:
Caused by: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/
TagSupport
So I looked in the servlet-api.jar file that was included with my
Tomcat 6 download and noticed that the javax/servlet/jsp/ folder is
empty. I'm guessing this was by design, but can someone tell me what
jar would contain the tagext classes? Are custom JSTL tags deprecated
since Java 5?
Thanks,
Steven
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: servlet-api.jar jsp path is empty
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Steven Crosley [mailto:stevencrosley@mac.com]
> Subject: Re: servlet-api.jar jsp path is empty
>
> Doesn't look like I have the jsp-api.jar anywhere else. Could there
> be another reason why it can't find the class?
Make sure CLASSPATH isn't set.
You can turn on -verbose:class, but that will produce a ton of output to
search through.
Might try searching all your jars for the class of interest, just in
case it's been slipped into some other jar. There are several free
tools available to do such searches; Google for "java class search jar"
(without the quotes), for example.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: servlet-api.jar jsp path is empty
Posted by Steven Crosley <st...@mac.com>.
Doesn't look like I have the jsp-api.jar anywhere else. Could there
be another reason why it can't find the class?
Thanks,
Steven
On Nov 26, 2007, at 1:05 PM, Caldarale, Charles R wrote:
>> From: Steven Crosley [mailto:stevencrosley@mac.com]
>> Subject: Re: servlet-api.jar jsp path is empty
>>
>> Ah, ok. It is in the jsp-api.jar. Unfortunately, that makes it
>> harder for me to determine why the error is occurring.
>
> Make sure that jsp-api.jar is not in some other location as well as
> Tomcat's lib directory. For example, placing a copy of the jar in the
> webapp's WEB-INF/lib directory will cause the above problem.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
> PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-
> mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: servlet-api.jar jsp path is empty
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Steven Crosley [mailto:stevencrosley@mac.com]
> Subject: Re: servlet-api.jar jsp path is empty
>
> Ah, ok. It is in the jsp-api.jar. Unfortunately, that makes it
> harder for me to determine why the error is occurring.
Make sure that jsp-api.jar is not in some other location as well as
Tomcat's lib directory. For example, placing a copy of the jar in the
webapp's WEB-INF/lib directory will cause the above problem.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: servlet-api.jar jsp path is empty
Posted by Steven Crosley <st...@mac.com>.
Ah, ok. It is in the jsp-api.jar. Unfortunately, that makes it
harder for me to determine why the error is occurring.
Thanks,
Steven
On Nov 26, 2007, at 12:37 PM, Martin Gainty wrote:
> jsp-api.jar comes with TC6 binary distro and is located in
> $CATALINA_HOME/lib
> do you not have it?
>
> M-
> ----- Original Message -----
> From: "Steven Crosley" <st...@mac.com>
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Sent: Monday, November 26, 2007 1:07 PM
> Subject: servlet-api.jar jsp path is empty
>
>
>> Hi,
>>
>> I was getting this error from my app:
>>
>> Caused by: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/
>> TagSupport
>>
>> So I looked in the servlet-api.jar file that was included with my
>> Tomcat 6 download and noticed that the javax/servlet/jsp/ folder is
>> empty. I'm guessing this was by design, but can someone tell me what
>> jar would contain the tagext classes? Are custom JSTL tags
>> deprecated
>> since Java 5?
>>
>> Thanks,
>> Steven
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: servlet-api.jar jsp path is empty
Posted by Martin Gainty <mg...@hotmail.com>.
jsp-api.jar comes with TC6 binary distro and is located in
$CATALINA_HOME/lib
do you not have it?
M-
----- Original Message -----
From: "Steven Crosley" <st...@mac.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, November 26, 2007 1:07 PM
Subject: servlet-api.jar jsp path is empty
> Hi,
>
> I was getting this error from my app:
>
> Caused by: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/
> TagSupport
>
> So I looked in the servlet-api.jar file that was included with my
> Tomcat 6 download and noticed that the javax/servlet/jsp/ folder is
> empty. I'm guessing this was by design, but can someone tell me what
> jar would contain the tagext classes? Are custom JSTL tags deprecated
> since Java 5?
>
> Thanks,
> Steven
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org