Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-27 Thread AbelMacAdam
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)
>>
>> org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)
>>
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
>>  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:690)
>>  javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> 
>>
>> Clearly, my Tomcat (and Eclipse) have issues in how I configure my
>> system.
>>
>> Abel
>>
>> FWIW:
>> Jar files in TOMCAT_HOME\lib:
>> annotations-api.jar  catalina-ant.jarcatalina-ha.jar 
>> catalina-tribes.jar
>> catalina.jar el-api.jar  jasper-el.jar   
>> jasper-jdt.jar
>> jasper.jar   jsp-api.jar servlet-api.jar 
>> tomcat-coyote.jar
>> tomcat-dbcp.jar  tomcat-i18n-es.jar  tomcat-i18n-fr.jar  
>> tomcat-i18n-ja.jar
>>
>>
>>
>> David Smith-2 wrote:
>>   
>>> Sorry Martin, but bad advice.  In recent versions of tomcat, jsp-api is 
>>> provided in the /lib directory of tomcat.  If you have your own in your 
>>> webapp (or in the jave environment for that manner), please remove it as 
>>> it will cause many a wonderous error.
>>>
>>> Also tomcat does not work with j2ee as j2ee comes with it's own copy of 
>>> a servlet container and the two will clash with each other.   Replace 
>>> your Java EE environment with the java sdk or java jre environments to 
>>> use tomcat.
>>>
>>> The bottom line is jars in tomcat can only exist once along any 
>>> classloader branch.  If it's in the JVM, it can be in tomcat's /lib or 
>>> the webapp's /WEB-INF/lib directories.  If it's in tomcat's /lib, it 
>>> can't exist in the webapp.
>>>
>>> Come back with a complete stack trace including any root causes of your 
>>> problem once those are fixed.
>>>
>>> --David
>>>
>>> Martin Gainty wrote:
>>> 
>>>> Abel
>>>> put jsp-api.jar in /WEB-INF/lib
>>>> M-
>>>> - Original Message -
>>>> From: "AbelMacAdam" <[EMAIL PROTECTED]>
>>>> To: 
>>>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NoClassDefFoundError%3A-TagExtraInfo-missing--tp14487034p14523159.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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-27 Thread David Smith
Cool... I see your tomcat lib directory is back to the default 
distribution.  What's in your webapp's WEB-INF/lib directory, and can 
you confirm which java tomcat is running on?  I would like to be sure 
it's not J2EE.  It should be the Java 1.6.0_03 you listed in your 
original post.  Lastly, post the full stack including root causes in 
error messages.  The two stacks you posted below look like they had 
additional information in a root cause.


As far as the last stack you posted (and this is just a guess), is 
app04a.form.OrderForm a true JavaBean with a no argument constructor?


--David

AbelMacAdam wrote:
Hi David, 


I tried what you suggested (quote: "Just out of curiousity, are you trying
to run your webapp from within
Eclipse?  If so, try it without Eclipse -- deploy it to your installed
tomcat and see if the error continues.  If the error goes away, it may be
something funky with your Eclipse -- missing .jar file or something."): try
the app in Tomcat without Eclipse (yes, you where right in your assumption
that I used Eclipse as startingpoint of Tomcat).

At first I got the following error:

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page
/jsp/displayAddOrderForm.jsp at line 8

5: 
6: 
7: 
8: 
9: 
10: 
11:   Product:


I looked in my TOMCAT_HOME/lib directory, and found the following jars with
the date stamp of last Monday:
j2ee.jar
j2ee-svc.jar
javaee.jar
I removed these files and got the following error (not the same as the root
cause of this thread):

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.ServletException:
javax.servlet.jsp.JspException: Exception creating bean of class
app04a.form.OrderForm: {1}

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)

org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)

org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
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:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


Clearly, my Tomcat (and Eclipse) have issues in how I configure my system.

Abel

FWIW:
Jar files in TOMCAT_HOME\lib:
annotations-api.jar catalina-ant.jarcatalina-ha.jar 
catalina-tribes.jar
catalina.jar		el-api.jar		jasper-el.jar		jasper-jdt.jar
jasper.jar		jsp-api.jar		servlet-api.jar		tomcat-coyote.jar
tomcat-dbcp.jar		tomcat-i18n-es.jar	tomcat-i18n-fr.jar	tomcat-i18n-ja.jar




David Smith-2 wrote:
  
Sorry Martin, but bad advice.  In recent versions of tomcat, jsp-api is 
provided in the /lib directory of tomcat.  If you have your own in your 
webapp (or in the jave environment for that manner), please remove it as 
it will cause many a wonderous error.


Also tomcat does not work with j2ee as j2ee comes with it's own copy of 
a servlet container and the two will clash with each other.   Replace 
your Java EE environment with the java sdk or java jre environments to 
use tomcat.


The bottom line is jars in tomcat can only exist once along any 
classloader branch.  If it's in the JVM, it can be in tomcat's /lib or 
the webapp's /WEB-INF/lib directories.  If it's in tomcat's /lib, it 
can't exist in the webapp.


Come back with a complete stack trace including any root causes of your 
problem once those are fixed.


--David

Martin Gainty wrote:


Abel
put jsp-api.jar in /WEB-INF/lib
M-
- Original Message -
From: "AbelMacAdam" <[EMAIL PROTECTED]>
To: 
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' lib

Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-26 Thread AbelMacAdam

Hi David, 

I tried what you suggested (quote: "Just out of curiousity, are you trying
to run your webapp from within
Eclipse?  If so, try it without Eclipse -- deploy it to your installed
tomcat and see if the error continues.  If the error goes away, it may be
something funky with your Eclipse -- missing .jar file or something."): try
the app in Tomcat without Eclipse (yes, you where right in your assumption
that I used Eclipse as startingpoint of Tomcat).

At first I got the following error:

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page
/jsp/displayAddOrderForm.jsp at line 8

5: 
6: 
7: 
8: 
9: 
10: 
11:   Product:


I looked in my TOMCAT_HOME/lib directory, and found the following jars with
the date stamp of last Monday:
j2ee.jar
j2ee-svc.jar
javaee.jar
I removed these files and got the following error (not the same as the root
cause of this thread):

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.ServletException:
javax.servlet.jsp.JspException: Exception creating bean of class
app04a.form.OrderForm: {1}

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)

org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)

org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
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:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


Clearly, my Tomcat (and Eclipse) have issues in how I configure my system.

Abel

FWIW:
Jar files in TOMCAT_HOME\lib:
annotations-api.jar catalina-ant.jarcatalina-ha.jar 
catalina-tribes.jar
catalina.jarel-api.jar  jasper-el.jar   
jasper-jdt.jar
jasper.jar  jsp-api.jar servlet-api.jar 
tomcat-coyote.jar
tomcat-dbcp.jar tomcat-i18n-es.jar  tomcat-i18n-fr.jar  
tomcat-i18n-ja.jar



David Smith-2 wrote:
> 
> Sorry Martin, but bad advice.  In recent versions of tomcat, jsp-api is 
> provided in the /lib directory of tomcat.  If you have your own in your 
> webapp (or in the jave environment for that manner), please remove it as 
> it will cause many a wonderous error.
> 
> Also tomcat does not work with j2ee as j2ee comes with it's own copy of 
> a servlet container and the two will clash with each other.   Replace 
> your Java EE environment with the java sdk or java jre environments to 
> use tomcat.
> 
> The bottom line is jars in tomcat can only exist once along any 
> classloader branch.  If it's in the JVM, it can be in tomcat's /lib or 
> the webapp's /WEB-INF/lib directories.  If it's in tomcat's /lib, it 
> can't exist in the webapp.
> 
> Come back with a complete stack trace including any root causes of your 
> problem once those are fixed.
> 
> --David
> 
> Martin Gainty wrote:
>> Abel
>> put jsp-api.jar in /WEB-INF/lib
>> M-
>> - Original Message -
>> From: "AbelMacAdam" <[EMAIL PROTECTED]>
>> To: 
>> 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!)
&

Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread David Smith
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" 
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: 
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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread Martin Gainty
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" 
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: 
> > 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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread Pid
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: 
> 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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread David Smith
Just out of curiousity, are you trying to run your webapp from within 
Eclipse?  If so, try it without Eclipse -- deploy it to your installed 
tomcat and see if the error continues.  If the error goes away, it may 
be something funky with your Eclipse -- missing .jar file or something.


--David

AbelMacAdam wrote:

Hi,

Thanks for the feedback. I just saw that both el-api.jar and jsp-api.jar are
part of my TOMCAT-HOME/lib directory. And these jar files are part of my
'Java Build Path' in Eclipse. So I'm still scratching my head :-(.

Abel


mgainty wrote:
  

Abel
put jsp-api.jar in /WEB-INF/lib
M-
- Original Message -
From: "AbelMacAdam" <[EMAIL PROTECTED]>
To: 
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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread David Smith
Sorry Martin, but bad advice.  In recent versions of tomcat, jsp-api is 
provided in the /lib directory of tomcat.  If you have your own in your 
webapp (or in the jave environment for that manner), please remove it as 
it will cause many a wonderous error.


Also tomcat does not work with j2ee as j2ee comes with it's own copy of 
a servlet container and the two will clash with each other.   Replace 
your Java EE environment with the java sdk or java jre environments to 
use tomcat.


The bottom line is jars in tomcat can only exist once along any 
classloader branch.  If it's in the JVM, it can be in tomcat's /lib or 
the webapp's /WEB-INF/lib directories.  If it's in tomcat's /lib, it 
can't exist in the webapp.


Come back with a complete stack trace including any root causes of your 
problem once those are fixed.


--David

Martin Gainty wrote:

Abel
put jsp-api.jar in /WEB-INF/lib
M-
- Original Message -
From: "AbelMacAdam" <[EMAIL PROTECTED]>
To: 
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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread AbelMacAdam

Hi,

Thanks for the feedback. I just saw that both el-api.jar and jsp-api.jar are
part of my TOMCAT-HOME/lib directory. And these jar files are part of my
'Java Build Path' in Eclipse. So I'm still scratching my head :-(.

Abel


mgainty wrote:
> 
> Abel
> put jsp-api.jar in /WEB-INF/lib
> M-
> - Original Message -
> From: "AbelMacAdam" <[EMAIL PROTECTED]>
> To: 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NoClassDefFoundError%3A-TagExtraInfo-missing--tp14487034p14487725.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]



Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread Martin Gainty
Abel
put jsp-api.jar in /WEB-INF/lib
M-
- Original Message -
From: "AbelMacAdam" <[EMAIL PROTECTED]>
To: 
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]



NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread AbelMacAdam

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--tp14487034p14487034.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]