My Eclipse Java package is treated as a folder; can anyone suggest what\'s wrong?
This kind of issue occur due to missing of java and test folder in the web application
solution is :
Right click on the project folder -> properties -> java build path -> order and export and select the java and test folder and add or apply -> ok
then you should able to add the package in the java folder