🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1138

Re: JavaMail - no classdef founf javax/activation/DataSource ???

#1138
From: Nazim Akperov
Date: Tue, 21 May 2002 01:59
32 lines
1832 bytes
Your main trouble is ahead after successful compilation inside JBuilver with
added javamail and activation packages you won't be able to run it sandalone
because of manifest.
When you are there post and I'l show you how to avoid it.
Regards
Gnusik


"Ashish Agnihotri" <ashishagnihotri@rediffmail.com> wrote in message
news:3cd50ed8_1@dnews...
> Hi community,
>
> I am a newbie for the JavaMail APIs. What I am trying is to create a
servlet
> that handles amail request from an HTML page and sends the mail to the
> address as specified in the page. The problem arises when I try to
> instantiate a new Message Objewct using the following statement
>
>   Message msg = new MimeMessage(session);
>
> The exception - No classdef found javax/activation.DataSource arises and
the
> program stops. What could be the reason for this error to occur. Can
anyone
> help. ANy help will be greatlt appreciated.
>
> Thanks and regards
>
> Ashish
>
>
>
Technical Details
Message-ID: <3ce9aa33_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!news-xfer2.newshosting.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3cd50ed8_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,73f0feae1dfa3d4f
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-05-20 19:02:43 PST
From: "Nazim Akperov" <deprecation@mail.ru>
Newsgroups: borland.public.jbuilder.java.api
References: <3cd50ed8_1@dnews>
Subject: Re: JavaMail - no classdef founf javax/activation/DataSource ???
Date: Tue, 21 May 2002 06:59:52 +0500
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.217.137.24
Message-ID: <3ce9aa33_1@dnews>
X-Trace: dnews 1021946419 62.217.137.24 (20 May 2002 19:00:19 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!news-xfer2.newshosting.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews