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 [EMAIL PROTECTED]; run by ezmlm
>list-help: <mailto:[EMAIL PROTECTED]>
>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
>list-post: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>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" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>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:[EMAIL PROTECTED]] 
>> Sent: 11 October 2002 18:34
>> To: [EMAIL PROTECTED]
>> Subject: RE: javax/servlet/ServletContext not defined
>> 
>> 
>> Yes and Tomcat 4.1.12.
>> 
>> -Chris
>> 
>> -----Original Message-----
>> From: Peter Li [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, October 11, 2002 1:16 PM
>> To: [EMAIL PROTECTED]
>> 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:[EMAIL PROTECTED]]
>> > 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
>> > [EMAIL PROTECTED]
>> > 
>> > 
>> 
>> 

Reply via email to