facebook

Exception in thread "main" java.lang.NoClassDefFo

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #311535 Reply

    mdarr
    Participant

    I am trying to do a simple run from the IDE and I am getting this error somewhat randomly.

    I am running MyEclipse 8.6 on a windows 7 machine.

    It seems obvious that this has to do with classpaths but they look fine in the run configuration. I have two classes in a project that seemly have the same classpaths.
    One gets the error and another doesn’t.

    1) Is there any way to get MyEclipse or Java to tell me where it is searching?
    2) How do I fix this so it stays fixed?

    This all started when I added an ical4j project (which has this problem) and added a reference to it. The Project dependancy and the build source path have been removed from my new project but the problem remains.

    Maurice

    #311540 Reply

    Maurice,

    1) Is there any way to get MyEclipse or Java to tell me where it is searching?

    Can you look for any errors logged in the problems view or in the log file located at workspace dir > .metadata > .log?
    Also, can you clean on your project? Go to Project > Clean from the toolbar and select then select your project to clean.
    Let me know how that works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Exception in thread "main" java.lang.NoClassDefFo

You must be logged in to post in the forum log in