Results 1 to 2 of 2
  1. #1
    McKracken is offline Member
    Join Date
    Aug 2014
    Rep Power

    Default Classes disappear from packages

    Hi to all!

    I'm new to this forum, and the title of this thread could be misleading. The problem is this: I downloaded eclipse Luna few days ago, and started working with it on a project I had in one of my repositories, by importing it (without copying the files in the workspace). Then, since Luna didn't allow me to use some plugins (as fatjar, for example). Moreover, the Luna release started behaving really strange. Without any change, it started throwing the error "Unable to locate or load the main class", but only with imported project. Creating a new one inside didn't get the same effect, and worked properly. I decided to switch back to Kepler, that was the last version I used without such problem. I then erased Luna and downloaded Kepler. Anything changed. Every time the same error. Today (all these yesterday), I opened Kepler and the package explorer was showing me the project but with the main common package empty.

    I tried different solution by searching on google, but no one worked.
    Where's the problem?

    Thank you in advance

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: Classes disappear from packages

    How about creating a fresh workspace and DO copy over the source files then? Apparently your existing workspaces are royally messed up with all the switching you've been doing.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 2
    Last Post: 12-07-2012, 01:37 PM
  2. Importing packages and classes
    By tnrh1 in forum New To Java
    Replies: 3
    Last Post: 11-07-2011, 03:35 PM
  3. Replies: 1
    Last Post: 02-10-2010, 01:55 AM
  4. Drawing disappear!!!!
    By gan5016 in forum Java 2D
    Replies: 7
    Last Post: 09-26-2009, 03:58 AM
  5. Classes and packages
    By ramesh.8189 in forum New To Java
    Replies: 4
    Last Post: 02-03-2009, 01:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts