My Eclipse Java package is treated as a folder; can anyone suggest what's wrong?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Right click on Project > Configure > Convert to Faceted Form > Click on apply and OK
This one has worked for me.
go into your javabuildpath in properties and remove the folder from your Exclusions
From the menu bar, select Navigate > Show In > Package Explorer.
This is what worked for me.
Worst case, you'll have to delete the folder and recreate as a java package.
SIMPLE You are not in the Package Explorer View ( but in Navigator view) If not the above case, then create a new package under the project (staying in Package Explorer view) and move those classes to the newly created package. DONE.
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.