apinho
apinho

Reputation: 2285

Missing option "Run on Server" in Eclipse STS

I am new to Spring and I wanted to learn how to develop REST APIs using Spring so I have followed this tutorial:

https://spring.io/guides/gs/rest-service/

I am using STS and the problem is that when I try to run it, I dont have a "Run on Server" option. Why ? Sorry for the noob question

Regards

Upvotes: 6

Views: 19447

Answers (4)

Mandeep Singh Gill
Mandeep Singh Gill

Reputation: 1345

Install Eclipse Web Development Tools into your STS in Marketplace.

Upvotes: 0

user15475869
user15475869

Reputation: 1

1.Go TO Help In STS AND CLick Eclipse MarketPlace Then 2.Click Eclipse WebModule And Install That Software Then 3.Clean Install And Try Update You Will Get Run As Server Option Will Apperar.

Upvotes: -1

Rabin Pantha
Rabin Pantha

Reputation: 981

Make sure that 'Dynamic Web Module' is selected in the Project Facets of Project Properties.

Steps to follow:

  1. Right click in the project and select properties.
  2. Click on the Project Facets.
  3. Check the Dynamic web module.

Upvotes: 4

apinho
apinho

Reputation: 2285

Managed to make it show that option:

Go to Project Properties enter image description here

enter image description here

Upvotes: 11

Related Questions