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

后端 未结 14 913
失恋的感觉
失恋的感觉 2021-01-04 00:14

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

14条回答
  •  醉话见心
    2021-01-04 00:18

    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.

提交回复
热议问题