SyntaxFix
Write A Post
Hire A Developer
Questions
Go to project properties -> Project Facets. Make sure the Dynamic Web Module and Java is checked.
Apart from it, "Cloud Foundry Standalone Application" needs to be un-checked, if it is already selected. By default, few IDEs preselect this option.