-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
You may want to doublecheck that you have the Bean Activator framework jar in your
classpath as it is required for JavaMail.
-MA
"Craig R. McClanahan" wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> "Brett, James" wrote:
>
> > -----------------------------
> > Please read the FAQ!
> > <http://java.apache.org/faq/>
> > -----------------------------
> >
> > Hi - I'm having problems accessing sun's javamail package from a servlet run
> > from JServ. Does anyone know of any success/failure with javamail and
> > JServ? It runs outside of JServ on HPUX but not when in servlet run by
> > JServ. The jserv log error is:
> >
> > [01/09/1999:11:28:16.196 CDT] java.lang.NoClassDefFoundError:
> > javax/mail/internet/ParameterList
> > at
> > org.apache.jserv.JServConnection.processRequest(JServConnection.java:341)
> > at org.apache.jserv.JServConnection.run(JServConnection.java:197)
> > at java.lang.Thread.run(Compiled Code)
> >
>
> I've used JavaMail under Apache JServ with no problems.
>
> I've also found through bitter experience that a "NoClassDefFoundError" does
> not actually complain about the class that it can't find -- it's really saying
> "I cannot find one of the superclasses of this class, or one of the interfaces
> that this class implements, or one of the other classes or interfaces this
> class refers to." That's still puzzling in this case, because according to the
> API docs this class doesn't have any superclass except java.lang.Object, and
> decompiling with javap doesn't list any classes besides the standard java.lang
> and java.util stuff, plus references to the following classes:
> javax.mail.internet.HeaderTokenizer
> javax.mail.internet.ParseException
>
> You might try downloading JavaMail again in case your JAR file is corrputed.
>
> Craig McClanahan
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
~-~-~-~-~-~-~-~-~-~-~-~-~-~-WEBEASY-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Michael Amster [EMAIL PROTECTED]
4676 Admiralty Way, Suite 300 Tel: 310.576.0770
Marina Del Rey, CA 90292 Fax: 310.576.2011
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]