Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Problems with Eclipse 3.0

Reply
Thread Tools

Problems with Eclipse 3.0

 
 
sjoshi
Guest
Posts: n/a
 
      08-31-2005
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.

thanks
Sunit

 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      08-31-2005
On 31 Aug 2005 07:24:52 -0700, sjoshi 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.


There are more specific forums for Eclipse.
<http://www.eclipse.org/newsgroups/index.html>

It might help if you actually ask a question though.

--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"..a government for hire and a combat site."
R.E.M. 'It's The End Of The World As We Know It (And I Feel Fine)'
 
Reply With Quote
 
 
 
 
Bryce
Guest
Posts: n/a
 
      08-31-2005
On 31 Aug 2005 07:24:52 -0700, "sjoshi" <> 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
 
Reply With Quote
 
Virgil Green
Guest
Posts: n/a
 
      09-01-2005
sjoshi 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.
>
> thanks
> Sunit


How are you attempting to run your java class?

--
Virgil


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
org.eclipse.ant.core.AntSecurityException Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". jygoo Java 1 03-22-2006 06:04 PM
Nokia + Eclipse: creating JAR files from eclipse John Goche Java 2 01-22-2006 01:53 AM
[ECLIPSE] [PRIVACY] - Direct Violation of Eclipse Foundations PrivacyPolicy Ilias Lazaridis Java 0 01-16-2005 11:31 AM
[ECLIPSE] [CENSORSHIP] - Mike Milinkovich (Eclipse Foundation Director)Censors Forums Ilias Lazaridis Java 0 01-08-2005 12:23 PM
Deploying eclipse plugin cleared everything in eclipse - project references in package explorer etc. javaguy44 Java 1 08-18-2004 03:24 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57