Article View: borland.public.jbuilder.java.api
Article #1050JavaMail - no classdef founf javax/activation/DataSource ???
From: Ashish Agnihotri
Date: Sun, 05 May 2002 10:52
Date: Sun, 05 May 2002 10:52
16 lines
1432 bytes
1432 bytes
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:
<3cd50ed8_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,73f0feae1dfa3d4f,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-05-05 04:09:07 PST From: "Ashish Agnihotri" <ashishagnihotri@rediffmail.com> Newsgroups: borland.public.jbuilder.java.api Subject: JavaMail - no classdef founf javax/activation/DataSource ??? Date: Sun, 5 May 2002 16:22:11 +0530 Lines: 19 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: 203.199.94.15 Message-ID: <3cd50ed8_1@dnews> X-Trace: dnews 1020595928 203.199.94.15 (5 May 2002 03:52:08 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!dnews