Re: Problems with Eclipse 3.0



On 31 Aug 2005 07:24:52 -0700, "sjoshi" <sjoshi@xxxxxxxx> wrote:

>I'm trying to run a simple java project in Eclipse3.0 and it was fine
>till I tried adding a src and bin folders in the
>Project->Properties->Source tab. I added a folder src under my project
>Ch1 and it added the bin folder too.
>Now when I try to run the Ch1, it says: java.lang.NoClassDefFoundError:
>org/sj/Ch1_01
>
>I can see the .java files under ../org/sj/Ch1_01 folder though. All the
>files have the statement package org.sj; at the top.

Under your src folder (which you say you added as a source folder),
you should have the following folders:
org/sj/Ch1_01.java


--
now with more cowbell
.


Quantcast