You have put the servlet spec jar file into your webapp classloader. Get rid
of it since servlet.jar is already available via the common classloader.
http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
Peter Lauri wrote:
Best groupmember,
I use the CommonFileUpload package to handle
Hi,
Well, the chances of it being changed on this list are nil ;) The
chances of it being changed by the JSR154 team are better: contact them
at http://www.jcp.org/en/jsr/detail?id=154. If/when the Spec changes,
it will be reflected in our CVS repositories.
Yoav Shapira
by
that team rather than the Tomcat team?
Also, I as looking for views from list members on whether this is actually a
bug or not . :)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday 13 October 2004 15:35
To: Tomcat Users List
Subject: RE: ServletException
Hi,
Sorry Yoav, but I'm not clear on why JSR154 is the place - I'd be
grateful
if you could explain a little more please :) Are you saying that the
problem is that the spec is wrong, rather than that there is a bug in
implementing it? Or maybe that the code for ServletException is
written by
On Tue, Jun 22, 2004 at 09:55:01PM +0300, A Leg wrote:
: I have a servlet communicating with some JINI services.
: This was good working with Tomcat 4.2 and Jini 1.21
: I just upgrade to tomcat 5.0 and Jini 2.0 and I get these error
[snip]
: root cause
: java.lang.NoClassDefFoundError
:
Hi
Yes I recompile all application, and jar in my application webapp
direstory is the new one.
Andre
QM wrote:
On Tue, Jun 22, 2004 at 09:55:01PM +0300, A Leg wrote:
: I have a servlet communicating with some JINI services.
: This was good working with Tomcat 4.2 and Jini 1.21
: I just upgrade
It seems that you don't have the tomcat path configured right. From JavaDoc:
HttpJspBase.java is the super class of all JSP-generated servlets.
Your jsp page cannot find the right path right now.
-Original Message-
From: Julien Martin [mailto:[EMAIL PROTECTED]
Sent: Friday,
Howdy,
Where is the jar file containing pu.strutsapp.actionform.LogonForm
residing? It should be in the WEB-INF/lib directory of your webapp.
Make sure the package of that class is indeed pu.strutsapp.actionform.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: todd
Thanks very much for taking the time out to give me some tips.
I took out my webapp's jar files while I try to tweak some of the classes. Right now
I'm just uploading the individual class files to their proper WEB-INF/classes/
directory. Is this what's going wrong? Is the webapp expecting
: Cox, Charlie [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 6:19 AM
To: 'Tomcat Users List'
Subject: RE: ServletException
I pass the request around quite a bit as well. Did you compile your classes
against the servlet.jar that is distributed with Tomcat
jsp.
is it possible that your class is throwing an exception that you are not
catching in the JSP?
Charlie
-Original Message-
From: Woodrich, Jason D (Jason) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 10:41 PM
To: Tomcat Users List
Subject: RE: ServletException
Howdy,
First try to reproduce this problem using tomcat-standalone, to take out
the apache variable. That will make debugging easier.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Woodrich, Jason D (Jason) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 9:47
Woodrich
- Avaya, Inc.
- Knowledge Management Tools Development
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 7:03 AM
To: Tomcat Users List
Subject: RE: ServletException
Howdy,
First try to reproduce this problem using tomcat-standalone
objects outside of the JSP?
Thanks
Jason Woodrich
- Avaya, Inc.
- Knowledge Management Tools Development
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 7:03 AM
To: Tomcat Users List
Subject: RE: ServletException
Howdy
Development
-Original Message-
From: Yoav Shapira [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 7:28 PM
To: Tomcat Users List
Subject: RE: ServletException
Howdy,
Perhaps the fact that in 4.0.x your JSPs were package-less and in 4.1.x they're
in org.apache.jsp? (Or vice versa, I can
Odds are - you have the servlet api classes somewhere buried in your WEB-INF
dir and they shouldn't be there.
-Tim
Woodrich, Jason D (Jason) wrote:
I'm getting a ServletException when I try to access methods in a HttpRequestFacade passed to one of my own classes. It's being casted as a
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 7:58 PM
To: Tomcat Users List
Subject: Re: ServletException
Odds are - you have the servlet api classes somewhere buried in your WEB-INF
dir and they shouldn't be there.
-Tim
Woodrich, Jason D (Jason) wrote:
I'm getting a ServletException
PROTECTED]
Sent: Tuesday, June 24, 2003 7:58 PM
To: Tomcat Users List
Subject: Re: ServletException
Odds are - you have the servlet api classes somewhere buried in your WEB-INF
dir and they shouldn't be there.
-Tim
Woodrich, Jason D (Jason) wrote:
I'm getting a ServletException when I try to access
I had run into a similar error message some time back... I use Tomcat
4.1.17, but I had to add jasper-compiler.jar and jasper-runtime.jar to my
classpath...
HTH
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Al Cam [mailto:[EMAIL PROTECTED]]
It looks like it cannot find the following:
root cause
java.lang.NoClassDefFoundError: org/apache/jasper/compiler/JspRuntimeContext
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java, Compiled
Code)
Which tell me it cannot find a certain class I think Denise is right, I
Ok, thanks, I added the $CATALINA_HOME/common/lib to the CLASSPATH, but now
I have the next error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
[javac]
.
Let us know
Scott
-Original Message-
From: Al Cam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 9:13 AM
To: [EMAIL PROTECTED]
Subject: RE: ServletException: Servlet.init()
Ok, thanks, I added the $CATALINA_HOME/common/lib to the CLASSPATH, but now
I have the next error
To: [EMAIL PROTECTED]
Subject: RE: ServletException: Servlet.init()
Ok, thanks, I added the $CATALINA_HOME/common/lib to the
CLASSPATH, but now
I have the next error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Users List'
Subject: RE: ServletException: Servlet.init()
Do you have JDK installed on your machine? Also, do you have
$JAVA_HOME defined and exported in your classpath?
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Al Cam
Ok, I installed Tomcat 4.0.6 instead of 4.1.18 and worked fine.
Thanks again for your time.
From: Scott Purcell [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: ServletException: Servlet.init()
Date: Tue, 14 Jan 2003 09:43:27
On Tue, 10 Sep 2002, Oskar Bartenstein wrote:
Hello, please help with a bug (?) or mistake (?)
What is a likely reason for
javax.servlet.ServletException: Servlet execution threw an exception
at
Hi,
The error is in this line
int lineNr = Integer.parseInt(nr);
It means that nr is not containing a valid integer.
to find out the value in nr, you can give something like
System.out.println(value of nr is : +nr);
int lineNr = Integer.parseInt(nr);
likewise you can give System.out
I
experienced the same problem. It's due to a class loader issue.
Multiple class loaders have been introduced in V4.0 to implement the
requirements found in Section 9.6.2 of the Servlet 2.3 Spec. These class
loaders are used to load all of the jars and classes rather than using the
28 matches
Mail list logo