Question

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

Was it helpful?

Solution 3

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.

OTHER TIPS

You need to deploy the webapp to a tomcat.

You can check this issue for more info: Intelli tomcatJ

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top