Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!backlog4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 26 Feb 2014 13:30:15 -0600 Date: Wed, 26 Feb 2014 19:30:12 +0000 From: lipska the kat Organization: Trollbusters 3 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: error discription and solution References: <7ad4a15c-7e35-4d08-a61f-4d673f5d4ef0@googlegroups.com> <081fg9thirl4u17mdbeq8q3oocgtbakr7t@4ax.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 33 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-DOwwhUoU52dqA+JmZLJmMso13w+rGW1TST2q/S7BMbiv6QmqGlcdsadLmpjmlBdIUa2XD1TwJtRQ9Ob!ZjIuIqwI2Kcio8JSI6gBr6/ddBi9jgOR/TKjmHzfwkLRs1fbgU/fpEpCfMma3pVxD8cqj7sSBwyn X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2618 Xref: csiph.com comp.lang.java.programmer:27600 On 26/02/14 18:22, Roedy Green wrote: > On Fri, 21 Feb 2014 17:53:40 +0000, lipska the kat > wrote, quoted or indirectly quoted someone > who said : > >>>> NoClassDefFoundError >>> >>> My condolences. >> >> Very funny, > > The problem is there are so many different things you can do wrong > that generate the error. > > I would hope Oracle could find some way to subclass > NoClassDefFoundError the way IOException is, to give you a better hint > on just what you screwed up, or perhaps to include more hints in the > message. > > Tracking down NoClassDefFoundError is one of the most onerous errors. Agreed, classpath confusions notwithstanding, (which IME can cause a lot of problems to noobs) Apache commons stuff is not so bad, you can get to the commons site and track down the relevant jar easily enough but trying to figure out which jar contains com.foobar.hidden.widget.PoopScoop and where to get it is a different matter altogether. -- Lipska the Kat©: Troll hunter, sandbox destroyer, treacherous feline and farscape dreamer of Aeryn Sun GNU/Linux user #560883 - http://www.linuxcounter.net