Article View: borland.public.jbuilder.java.language
Article #8047ClassDefNotFoundError
From: Marc Breault
Date: Sun, 29 Apr 2001 21:17
Date: Sun, 29 Apr 2001 21:17
16 lines
1715 bytes
1715 bytes
I'm writing a servlet and one of my classes does calculations. I thought I'd put in a main function so I could test the calculations via the command line as opposed to going through the whole process of using the entire servlet. When I run the thing from the command line, I get a message Exception in thread "main" Java.lang. No ClassDefFoundError And nothing else happens. According to the help, the VM has lost the class definition somewhere along the line. Any idea what's happening? When I try running the class from the IDE I get a message saying the configuration of the project is not complete. Any suggestions would be helpful. Thanks, Marc
Technical Details
Message-ID:
<r21petg9ukab2j1r1ofg2k1d2n0k8vtihb@4ax.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!newshub1.rdc1.nsw.optushome.com.au!news1.eburwd1.vic.optushome.com.au.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,7d08d40de69b7ed2,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-29 14:19:24 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!newshub1.rdc1.nsw.optushome.com.au!news1.eburwd1.vic.optushome.com.au.POSTED!not-for-mail From: Marc Breault <lizmarc@optushome.com.au> Newsgroups: borland.public.jbuilder.java.language Subject: ClassDefNotFoundError Message-ID: <r21petg9ukab2j1r1ofg2k1d2n0k8vtihb@4ax.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 Date: Sun, 29 Apr 2001 21:17:02 GMT NNTP-Posting-Host: 203.164.6.70 X-Complaints-To: abuse@optushome.com.au X-Trace: news1.eburwd1.vic.optushome.com.au 988579022 203.164.6.70 (Mon, 30 Apr 2001 07:17:02 EST) NNTP-Posting-Date: Mon, 30 Apr 2001 07:17:02 EST Organization: @Home Network