Create a web project using Maven:
mvn archetype:generate -DgroupId=com.trial -DartifactId=message -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=falseConvert the project to Eclipse web project using:
mvn eclipse:eclipse -Dwtpversion=2.0Import existing project into Eclipse:

The project icon contains an folder instead of a web icon and folder icon. I find this a bit strange and when I try to run also, the run on server option is missing. I am sure I followed the steps correctly. Where may I be lagging to obtains such a result ?
I have the below's suggestions :
First check whether your eclipse is in
Jave EE Perspectiveor not. If it was in only Java perspective, run option will not come.Right click on your project, go to properties.
Click on
Project FacetsCheck whether
Dynamic Web moduleis check marked or not. If not just check marked it.