Home > eclipse, Maven > Fixing error in Eclipse:Run on server option not visible for maven project

Fixing error in Eclipse:Run on server option not visible for maven project

Recently i found that once i have imported a project as an existing maven project to the eclipse, it does not show the run on server option. The reason is that it is not a dynamic web project. So go to project properties and change it to dynamic web project as follows.

Now it should be working.

Or this can be directly via maven : mvn eclipse:eclipse -Dwtpversion=2,0

Advertisements
Categories: eclipse, Maven
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: