Reputation: 2285
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
Reputation: 1345
Install Eclipse Web Development Tools into your STS in Marketplace.
Upvotes: 0
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
Reputation: 981
Make sure that 'Dynamic Web Module' is selected in the Project Facets of Project Properties.
Steps to follow:
Upvotes: 4