It depends on which server you're running, but generically you want the
compiled classes to end up in the WEB-INF/classes/Starter.class and
WEB-INF/classes/dip/OrdreReader.class directories (based on the package
statements).
(*Chris*)
- Original Message -
From: "Anders Jørvad (RWDK)" <[
- Original Message -
From: "Anders Jørvad (RWDK)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 13:02
Subject: java.lang.NoClassDefFoundError
> When i compile the 2 classes i get no error, but when i run the servlet i
> get the following message;
>
> root
Hi Bobo:
I had a similar problem, where my servlet would compile fine (so obviously it
found the class ok you would imagine), but at run-time the dreaded
"NoClassDefFoundError" would occur. (Note that is different from the
ClassNotFound error!). After searching a lot on Google, the general Java
a
Hey!
This error message tells you, the obvious, that it can not find
your class named HttpMessage. Typically, the problem is you have
not specified the path to find your jar. There are multiple ways to do
this depending on the servlet engine you are using. For myself, using
WebSphere in Window
Sun JunXu wrote:
> hi,
> now my javamail servlet is running well, is it necessary to use a mail
> server (like as sendmail, MS exchange) in javamail? can I not use mail
> server, just use smtp to send a mail message?
>
> sincerely
> sun
>
A detailed answer to this question would require some kno
To: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent: Wednesday, January 05, 2000 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: java.lang.NoClassDefFoundError:
>
> I mean Java Activation Framework; you should
the same error is there...as jaf.jar is already in my
> classpath.
>
> --
> From: Sun JunXu [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 05, 2000 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: Re: java.lang.NoClassDef
But for me still the same error is there...as jaf.jar is already in my
classpath.
--
From: Sun JunXu [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, January 05, 2000 12:36 PM
To: [EMAIL PROTECTED]
Subject: Re: java.lang.NoClassDefFoundError
To: [EMAIL PROTECTED]
> Subject: Re: java.lang.NoClassDefFoundError:
>
> I mean Java Activation Framework; you should have jaf.jar in your
> classpath.
> please check for the concerned configuration file by yourself ( as I've no
> experience with Jserv ); but defi
IL PROTECTED]
> Subject: Re: java.lang.NoClassDefFoundError:
>
> I mean Java Activation Framework; you should have jaf.jar in your
> classpath.
> please check for the concerned configuration file by yourself ( as I've no
> experience with Jserv ); but definitely you are m
conf file?
> --
> From: Rashid Mohiuddin[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent: Wednesday, January 05, 2000 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: java.lang.No
nuary 05, 2000 2:12 PM
Subject: Re: java.lang.NoClassDefFoundError:
> which jaf? and classpath in jserv.conf or in current servlet zone
properties
> file?
> thanks a lot.
>
> > --
> > From: Rashid Mohiuddin[SMTP:[EMAIL PROTECTED]]
> > Reply To: A mail
It's there
--
From: Rashid Mohiuddin [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, January 05, 2000 11:27 AM
To: [EMAIL PROTECTED]
Subject: Re: java.lang.NoClassDefFoundError:
please check that you have JAF package in your clas
t: Wednesday, January 05, 2000 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: java.lang.NoClassDefFoundError:
>
> please check that you have JAF package in your classpath.
>
> Regards,
>
> Rashid.
> --
-
From: Nitin Gogia <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 05, 2000 12:46 PM
Subject: Re: java.lang.NoClassDefFoundError:
> Same error I am getting. Can anyone suggest ?
>
> bYe
>
> --
> From: Sun JunXu [SMTP:[EM
Same error I am getting. Can anyone suggest ?
bYe
--
From: Sun JunXu [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, January 05, 2000 8:41 AM
To: [EMAIL PROTECTED]
Subject: java.lang.NoClassDefFoundError:
hi,
I have a servlet and it
Hi John
I did create a "tmp" dir under my root server dir 'J:\JWS\tmp' and
made the change like you suggested but it still did not work.
I then created another 'tmp' dir 'J:\tmp' but still got the same kind of error.
By the way, how can you create a directory with a permission of 666 on a PC?
Joh
Hi Michael,
pls. kindly change ur path "." to "/tmp", or just create a directory with a
permission of 666. becuase servlet is a nobody group..
new MultipartRequest(req, ".", 5 * 1024 * 1024);
--> new MultipartRequest(req, "/tmp", 5 * 1024 * 1024);
:)
>From: Michael Chung <[EMAIL PROTE
Make sure "." is in your CLASSPATH environment variable
-Original Message-
From: Anukool Lakhina [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 18, 1999 2:53 AM
To: [EMAIL PROTECTED]
Subject: java.lang.NoClassDefFoundError
Hello,
I'm using JDK1.2.2 and JSDK2.1. So far, javac works
PROTECTED]
Subject: Re: java.lang.NoClassDefFoundError
Plain and simple this error is thrown when the class u refer to is
not in the CLASSPATH. Just verify that your CLASSPATH contains the path
where ur HelloWorld stuff is residing. This is in case of applets and
applications.
In
gineering Group)
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 18, 1999 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: java.lang.NoClassDefFoundError
>
>
> Hi i suspect ur servlet or applet doesnt have a main function
> and that is
> the error which it returns. Bec
To: Anukool Lakhina
> Cc: [EMAIL PROTECTED]
> Subject: Re: java.lang.NoClassDefFoundError
>
>
> I had similar problems when trying to interface a JNI program from a
> servlet. I don't remember exactly what I did, but if you are using
> Windows, do this:
> 1) Make sure
Hi i suspect ur servlet or applet doesnt have a main function and that is
the error which it returns. Becoz for any java application to run u need
to have a main method in servlet and applets normally we dont have becoz
we are going to run them via the browsers
Thanks
Srini
#
Anukool Lakhina wrote:
>
> Hello,
>
> I'm using JDK1.2.2 and JSDK2.1. So far, javac works great and compiles
> beautifully. But when I try and do java , I get the following
> error:
> "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld"
>
> I thought it was a bug in my servlet c
I had similar problems when trying to interface a JNI program from a
servlet. I don't remember exactly what I did, but if you are using
Windows, do this:
1) Make sure you have servletrunner running. Configure the servlet
directory parameter to where you have your servlets. Configure the
servlet pr
25 matches
Mail list logo