Jack
Jack

Reputation: 6620

There is no "Run on Server" option on eclipse to run the project on Tomcat

I have a maven project that wants to run on Tomcat 7; however, when I right click on the project name there is no option other than Java Applet, Java Application, JUnit Test, Maven related options and Run Configurations.

enter image description here

enter image description here

enter image description here Please let me know if you need any further information that I should have provided.

Upvotes: 0

Views: 4402

Answers (1)

Dipen Adroja
Dipen Adroja

Reputation: 425

Follow this steps:

First of all make sure you have added Tomcat server in your eclipse. if it is not then first do that. then

Right Click on project => Run As => Run Configuration

Select Apache Server and select configured tomcat.

You are good to go now.

Upvotes: 2

Related Questions