My Eclipse Java package is treated as a folder; can anyone suggest what\'s wrong?
i had the exact same Problem after i added the packege in java build path -> libraries -> add class folder...
Dont ask why i did this ^^ but to resolve the Problem i just had to go to Project->Properties->java build path->Source
And there it was in the Excluded part. Just remove it from the exclusion pattern and perhaps also from the libraries section.