Article View: borland.public.jbuilder.java.language
Article #643Re: java.lang.ClassNotFoundException
From: Lori M Olson [TeamB]
Date: Wed, 06 Apr 2005 02:13
Date: Wed, 06 Apr 2005 02:13
42 lines
2200 bytes
2200 bytes
Petar Popara wrote:
> I got this exception:
>
> java.lang.ClassNotFoundException
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/mail/MessagingException
>
> In this line:
>
> Message message = new Message();
>
> I'm using Apache SOAP lib with JRE 1.5. Before this above line, I'm using
> other classes from the same package (Body, Envelope) but have no problems
> with them. What should I do?
>
>
This : "javax/mail/MessagingException" looks wrong.
It's like someone is doing a
Class.forName("javax/mail/MessagingException"), instead of using the
proper Class.forName("javax.mail.MessagingException").
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<425345b6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42529a40@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,fc63be902b12a6b7 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 05 Apr 2005 20:13:12 -0600 From: "Lori M Olson [TeamB]" <javadragon@techie.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: java.lang.ClassNotFoundException References: <42529a40@newsgroups.borland.com> In-Reply-To: <42529a40@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <425345b6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112753590 142.179.181.200 (5 Apr 2005 19:13:10 -0800) Lines: 42 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail