Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8787767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:58:20+00:00 2026-06-13T21:58:20+00:00

My project in eclipse was working all fine until I rebooted my system. On

  • 0

My project in eclipse was working all fine until I rebooted my system. On reopening the eclipse IDE, I started getting “Error: Could not find or load main class …”. In the process to “fix” things, I deleted the .project file as well. (How very naive of me!) Now everything seems to be messed up. I cannot see my files being listed in the “Package Explorer”. On opening the project it errors out saying: The project description file (.project) is missing. I still have all the source files and the compiled .class files in the respective directories.

Please help me out. Appreciate your suggestions.

Thank you!

I followed one of the suggestions (that of copying the .project file and modifying the project name). This brought back me to the stage where I could see all my files in the project explorer. But now on running the project from Eclipse, it is not able to find the Main method in the the java file (which actually contains the main()), and errors out as:
Error: Main method not found in class , please define the main method as:
public static void main(String[] args)

The main() method as I said is there. Its baffling how a project which I have been working on since 5 months with all things were working fine has suddenly become unusable. Could someone provide any insight on the latest error.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:58:21+00:00Added an answer on June 13, 2026 at 9:58 pm
    1. Create a Dummy Project
    2. Take the .project file and modify this part

    < name > PROJECT_NAME < / name >

    1. Place this in your old project
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android project in eclipse IDE which was working. After some imports
I am working on a simple project in Eclipse in Scala-IDE. The project makes
I have just been working on my android project in eclipse and all of
Someone must know of a working eclipse project for GWT / App Engine datastore
I'm working on an Eclipse RCP project on Eclipse 3.6 that's broken up into
I'm working on an Apache Wicket project in Eclipse with Maven2 -- my SCM
I'm working on summary on the eclipse modeling project and its various sub -
I'm working on a C++ project using Qt libraries, and I'm working with Eclipse
I can't seem to get assertions working in my eclipse android project. I have
I am working on project of android in eclipse.Android version is 2.3.3. I had

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.