SomeOne SomeOne - 1 year ago 82
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?

Answer Source

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
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download