Reputation: 303
I've cloned a spring-mvc project and was hoping to get it running. First time working on a project like this and could use help. I was told, I should be able to run the project and have a test environment on localhost. Instead, I only have an option to debug. I've added spring for Framework support, maybe I need to add something else?
run test image http://snag.gy/AySh6.jpg
here are some images of my project structure, in case it helps
modules
module image http://snag.gy/94Cnb.jpg
libraries
project library image http://snag.gy/znR7x.jpg
SDK's
project sdk image http://snag.gy/cI4Wj.jpg
edit: added image for add run configuration
menu
configuration menu http://snag.gy/piyzz.jpg
run configuration menu
Upvotes: 1
Views: 316
Reputation: 5682
You need to deploy the webapp to a tomcat.
You can check this issue for more info: Intelli tomcatJ
Upvotes: 2
Reputation: 15528
Using the right-click popup menu gives only options to run tests. You have to create a new run configuration using the Run
item from the main menu, or the specific run area on the main toolbar.
Upvotes: 0
Reputation: 16140
You need to create a run configuration for your server and configure the webapp to be deployed to it. Spring mvc is meant to be run on a server, and the client is, usually, a browser.
Upvotes: 1