axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Wyrwinski" <pwyrwin...@fulcrum.net>
Subject RE: javax/servlet/ServletContext not defined
Date Fri, 11 Oct 2002 22:08:20 GMT
I had the same thing yesterday.
Try to put the servlet.jar on the classpath.
>From <Tomcat>/common/lib/

Piotr Wyrwinski
Fulcrum Technologies

-----Original Message-----
From: Jung, Eric (Contractor) [mailto:ejung@russellmellon.com]
Sent: Friday, October 11, 2002 3:03 PM
To: 'axis-user@xml.apache.org'
Subject: RE: javax/servlet/ServletContext not defined


Not true.

Download the Servlet 2.4 specification and you'll see ServletContext is
there.
http://jcp.org/aboutJava/communityprocess/first/jsr154/

Eric H. Jung


-----Original Message-----
From: Sharmin Choksey [mailto:Sharmin.Choksey@Sun.COM]
Sent: Friday, October 11, 2002 5:48 PM
To: axis-user@xml.apache.org
Subject: RE: javax/servlet/ServletContext not defined


ServletContext has been deprecated since the release of Serlvet API 2.1
spec.  You need to check the implementation of your JDSK version
for support to ServletContext.

-Sharmin.


>Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm
>list-help: <mailto:axis-user-help@xml.apache.org>
>list-unsubscribe: <mailto:axis-user-unsubscribe@xml.apache.org>
>list-post: <mailto:axis-user@xml.apache.org>
>Delivered-To: mailing list axis-user@xml.apache.org
>content-class: urn:content-classes:message
>MIME-Version: 1.0
>X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
>Subject: RE: javax/servlet/ServletContext not defined
>Date: Fri, 11 Oct 2002 18:46:39 +0100
>Thread-Topic: javax/servlet/ServletContext not defined
>Thread-Index: AcJxTRuL15Ku7I55Su6DmYTD8lRzVgAAAXjg
>From: "Peter Li" <Peter.Li@newcastle.ac.uk>
>To: <axis-user@xml.apache.org>
>X-Newcastle-MailScanner: Found to be clean (of known viruses)
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>Content-Transfer-Encoding: 8bit
>X-MIME-Autoconverted: from quoted-printable to 8bit by 
phys-ha10nwkb.EBay.Sun.COM id KAA03048
>
>I had the same problem yesterday - the problem seems to be using Java2
>1.4.1 with axis 1.0.  When I reverted to the previous version of Java2 I
>was using (IBMJava2 1.3.1), the exception disappeared....
>
>Peter Li
>Research Associate
>Department of Computing Science
>University of Newcastle-upon-Tyne
>NE1 7RU
>UK
>
>> -----Original Message-----
>> From: Chris Howard [mailto:choward@boxlake.com] 
>> Sent: 11 October 2002 18:34
>> To: axis-user@xml.apache.org
>> Subject: RE: javax/servlet/ServletContext not defined
>> 
>> 
>> Yes and Tomcat 4.1.12.
>> 
>> -Chris
>> 
>> -----Original Message-----
>> From: Peter Li [mailto:Peter.Li@newcastle.ac.uk]
>> Sent: Friday, October 11, 2002 1:16 PM
>> To: axis-user@xml.apache.org
>> Subject: RE: javax/servlet/ServletContext not defined
>> 
>> 
>> Are you using Java2 1.4.1 and Apache Axis release 1.0?
>> 
>> Peter Li
>> Research Associate
>> Department of Computing Science
>> University of Newcastle-upon-Tyne
>> NE1 7RU
>> UK
>> 
>> > -----Original Message-----
>> > From: Chris Howard [mailto:choward@boxlake.com]
>> > Sent: 11 October 2002 18:06
>> > To: 'Axis-User
>> > Subject: javax/servlet/ServletContext not defined
>> > 
>> > 
>> > I'm getting the following error when ever I try to run anything..
>> > 
>> > Exception in thread "main" java.lang.NoClassDefFoundError:
>> > javax/servlet/Servlet Context
>> >         at java.lang.Class.getDeclaredMethods0(Native Method)
>> >         at 
>> java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
>> >         at java.lang.Class.getMethod0(Class.java:1746)
>> >         at java.lang.Class.getDeclaredMethod(Class.java:1233)
>> >         at 
>> > 
>> org.apache.commons.discovery.tools.ClassUtils.findPublicStaticMethod(
>> > ClassUtils.java:112)
>> >         at 
>> > 
>> org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
>> > tory(EngineConfigurationFactoryFinder.java:214)
>> >         at 
>> > 
>> org.apache.axis.configuration.EngineConfigurationFactoryFinder.access
>> > $300(EngineConfigurationFactoryFinder.java:92)
>> >         at 
>> > 
>> org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(
>> > EngineConfigurationFactoryFinder.java:179)
>> >         at 
>> java.security.AccessController.doPrivileged(Native Method)
>> >         at 
>> > 
>> org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
>> > tory(EngineConfigurationFactoryFinder.java:148)
>> >         at 
>> > 
>> org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
>> > tory(EngineConfigurationFactoryFinder.java:204)
>> >         at org.apache.axis.client.Service.<init>(Service.java:111)
>> >         at 
>> > org.apache.axis.client.AdminClient.<init>(AdminClient.java:123)
>> >         at 
>> > org.apache.axis.client.AdminClient.main(AdminClient.java:339)
>> > 
>> > After poking around I don't see a class by this name.  I
>> > assume I'm missing a directory on my classpath, that has been 
>> > most of my problems so far throughout this install.  This 
>> > particular error occured when I was attempting to deploy the 
>> > stock quote example.
>> > 
>> > Thanks,
>> > 
>> > Chris Howard
>> > Web Application Developer
>> > http://www.boxlake.com
>> > 1.866.box.lake
>> > choward@boxlake.com
>> > 
>> > 
>> 
>> 

Mime
View raw message