File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven web project: "Run on server" option?

 
Swerrgy Smith
Ranch Hand
Posts: 94
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am a Maven beginner. I have just created a Web project with m2eclipse.
However, when I right click on the project and choose "Run As", I did not see the option "Run on server" option as I always see with other Web projects.
(However, I can build the war file and deploy on Tomcat). What can I do to see this option so that I don't have to build war file and then deploy it?

Thank you very much.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your project needs the "Dynamic Web Module" facet (under Project Facets in the project's properties dialog) to show that menu entry. You probably need to install the "Maven Integration for WTP" extensions from the Eclipse marketplace. Once you do that I'm not sure if simply adding the correct facet will be sufficient or if you will have to recreate the project to get that facet.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic