servlet/jps: servlet is Ok but jsp NoClassDefFoundError

2005-05-03 Thread Ferrari Laura
 

I am working with Tomcat 5.0

 

In a working webapp \ondemand (with only jsp) I added a servlet.

The servlet work correctly but the jsp is not able to find the
lib/engine.jar (where the its classes are defined).

Without Servlet the JSP works.

With servlet I can not have my index.jsp

 

I tried to put the jar related to servlet in common/lib, but is the
same, the servlet works, but not the jsp.

Any idea?

Thanks.

Regards.

Laura Ferrari



Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.


CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
[EMAIL PROTECTED] Thank you



Re: servlet/jps: servlet is Ok but jsp NoClassDefFoundError

2005-05-03 Thread Anoop kumar V
Does your servlet do anything like modify tomcat properties etc?? 
Seems liek an unusual problem to me - one that I have not encoutered!!

-Anoop

On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote:
 
 
 
 I am working with Tomcat 5.0
 
 In a working webapp \ondemand (with only jsp) I added a servlet.
 
 The servlet work correctly but the jsp is not able to find the
 lib/engine.jar (where the its classes are defined).
 
 Without Servlet the JSP works.
 
 With servlet I can not have my index.jsp
 
 I tried to put the jar related to servlet in common/lib, but is the
 same, the servlet works, but not the jsp.
 
 Any idea?
 
 Thanks.
 
 Regards.
 
 Laura Ferrari
 
 Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.
 
 
 CONFIDENTIALITY NOTICE
 This message and its attachments are addressed solely to the persons
 above and may contain confidential information. If you have received
 the message in error, be informed that any use of the content hereof
 is prohibited. Please return it immediately to the sender and delete
 the message. Should you have any questions, please send an e_mail to
 [EMAIL PROTECTED] Thank you
 
 
 


-- 
Thanks and best regards,
Anoop


Re: servlet/jps: servlet is Ok but jsp NoClassDefFoundError

2005-05-03 Thread Jason Bainbridge
On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote:
 
 
 I am working with Tomcat 5.0
 
 In a working webapp \ondemand (with only jsp) I added a servlet.
 
 The servlet work correctly but the jsp is not able to find the
 lib/engine.jar (where the its classes are defined).

NoClassDefFoundError means that more than one matching class is found
in the classpath so your servlet's jar must contain a class that your
JSP's jar does or something related to that.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]