• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maven web project: "Run on server" option?

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Water! People swim in water! Even tiny ads swim in water:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic