Deploying spring web apps using Spring Tool Suite

admin

Administrator
Staff member
I'm new to Java web framework, I googled to find that spring is one of the most popular framework. I tried to install tools and searched a tutorial to run spring framework on my mac.

<h3>step 1 - Tomcat installation</h3>

Following <a href="http://neilang.com/entries/how-to-install-tomcat-on-mac-os-x/" rel="nofollow noreferrer">this site</a>, I could install Tomcat on my mac. I'm using :8080 port for Tomcat.

<h3>step 2 - spring tool suite installation</h3>

From <a href="http://www.springsource.org/spring-tool-suite-download" rel="nofollow noreferrer">this site</a>, I could install Spring Tool Suite.

<h3>step 3 - making an example following tutorial</h3>

I <a href="http://manueljordan.wordpress.com/2...web-mvc-project-with-springsource-tool-suite/" rel="nofollow noreferrer">found a tutorial</a> on using Spring Tool Suite. Following the procedure, I could build manolitomvc app.

<img src=" " alt="enter image description here">

<h3>step 4.1 - deployment &lt;-- issue 1</h3>

Finally, I'd like to access the web app at
Code:
http://localhost:8080/manolitomvc
.

I clicked the green arrow to see the error message.

<img src=" " alt="enter image description here">
<img src=" " alt="enter image description here">

<h3>step 4.2 - deployment &lt;-- issue 2</h3>

I opened overview page, and I guessed that I could set server location and deploy path to make spring web app available.

However, I have no idea how to set the server location (Tomcat server location that I installed in step1).

<img src=" " alt="enter image description here">

I tried to copy the manolitomvc directory into Tomcat main document directory(
Code:
/Library/Tomcat/webapps
), but it doesn't work.

How can I deploy the web app so that I can access the spring web app at
Code:
http://localhost:8080/manolitomvc
?

Could you recommend any other practical tutorial that I can follow to setup and use spring framework?