Not obviously. J2EE contains all the stuff tomcat contains plus some.
I suspect the duplication of the servlet and jsp api classes in both
tomcat and j2ee is causing the issues. The OP should either 1) use a
j2sdk w/ tomcat or 2) use j2ee w/o tomcat, but never j2ee with tomcat.
Adding the jsp-api to the webapp's WEB-INF/lib directory compounds the
issue further rather than cleaning anything up.
--David
Martin Gainty wrote:
Obviously its not there otherwise he wouldnt be getting the error
in other words copying some jar (you dont know anything about) to server/lib
is the preferred action?
I know that the container supports only a certain Servlet / JSP spec and I
also know these libraries are supposed to be there
I was giving the op the safest way to test TagLib functionality from a
(unknown) jar and NOT crash tomcat in the process
It would be easy to back out in case it did'nt work but to back out
something placed in server/lib ?
M-
----- Original Message -----
From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, December 24, 2007 12:16 PM
Subject: Re: NoClassDefFoundError: TagExtraInfo missing?
Martin Gainty wrote:
Abel
put jsp-api.jar in /WEB-INF/lib
M-
*Never* do that.
It will already be present in tomcat/server/lib or tomcat/lib depending
on your version, copying it to WEB-INF/lib will cause your app and web
server to behave unpredictably, and likely fail to work as intended.
p
----- Original Message -----
From: "AbelMacAdam" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, December 24, 2007 6:58 AM
Subject: NoClassDefFoundError: TagExtraInfo missing?
Hi,
I'm trying to bootstrap my knowledge on Struts. As I tried an example I
got
the following error:
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo
Searching on this error I got the impression I needed j2ee.jar. I
downloaded
and installed the Java EE 5 SDK from Sun. In Eclipse (Europa) I
I added a 'J2EE' library to my Libraries in my 'Java Build Path'. This
library contains the following jar files:
javaee.jar (and that jar file includes a
javax/servlet/jsp/tagext/TagExtraInfo.class!)
j2ee.jar
j2ee-svc.jar
After rebooting Tomcat (6.0) in Eclipse I still got that error. What do
I
need to do the remove this error and continue with the example?
TIA,
Abel
FWIW - Environment:
Apache 2.2.6
Java 1.6.0_03
Java EE 5
Struts 1.3.8
Tomcat 6.0
Windows XP
--
View this message in context:
http://www.nabble.com/NoClassDefFoundError%3A-TagExtraInfo-missing--tp144870
34p14487034.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]