SomeOne SomeOne - 7 months ago 44
Java Question

Why is my Eclipse Java package being treated as a folder?

My Eclipse Java package is treated as a folder; can anyone suggest what's wrong?


Worst case, you'll have to delete the folder and recreate as a java package.

  • Save the Java classes somewhere else in your Java project by refactoring
  • Delete the folder and the underlying folder structure
  • Create a Java package
  • Move the Java classes back under the Java package by refactoring