Article View: borland.public.jbuilder.java.language
Article #645Re: java.lang.ClassNotFoundException
From: John McGrath [TeamB]
Date: Wed, 06 Apr 2005 04:16
Date: Wed, 06 Apr 2005 04:16
31 lines
1876 bytes
1876 bytes
On 4/5/2005 at 10:02:42 AM, 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?
Can you post the library dependencies for your project? For the standard
libraries that come with JBuilder, just the library name will do. For
libraries that you defined, please show which JAR files are included in
the class path.
Oh, I presume you are using JBuilder 2005. Is that correct?
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<xn0e0njf93oqlc5000@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!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 From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: java.lang.ClassNotFoundException Newsgroups: borland.public.jbuilder.java.language References: <42529a40@newsgroups.borland.com> User-Agent: XanaNews/1.17.3.1 Message-ID: <xn0e0njf93oqlc5000@newsgroups.borland.com> X-Ref: newsgroups.borland.com ~XNS:00000366 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 141.158.34.113 Date: 5 Apr 2005 20:16:41 -0800 X-Trace: newsgroups.borland.com 1112757401 141.158.34.113 (5 Apr 2005 20:16:41 -0800) Lines: 31 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail