I have a Maven Project in Eclipse. I want to deploy it in my local tomcat server and run it like normal J2EE projects.
But What i found is in tomcat add/remove proje
There can be a few reasons why you don't see the project in the Add/Remove projects dialog for Tomcat. Verify the following:
m2e
installed (http://eclipse.org/m2e/download/)m2e-wtp
installed (http://www.eclipse.org/m2e-wtp/download/)Dynamic Web Application
. Look for a Deployment Descriptor
entry when you expand the project, it should be somewhere in the first few entries. It is the second one down for me on Eclipse Juno. Not there? It's probably not a web app. Go back and verify 1 & 2, then remove and re-import your project.Properties
> Project Facets
. Look for Dynamic Web Module
and check the version. If this version is too new for your Tomcat version, Eclipse won't let you add it. For instance, your Dynamic Web Module
version is 3.0 and you're using Tomcat 6.To complete AleksandrM answer, if someone wants to make their existing eclipse web project maven aware in Eclipse, highlight the project in explorer -> Right mouse click and select Configure -> Convert To Maven Project
In Eclipse Maven Integration for WTP
must be installed. Also this project must be configured with web nature.
UPDATE
To turn on web nature in your project properties -> Project Facets -> Convert to faceted form... -> Dynamic Web Module -> OK