Sep 16, 2014

Install spring framework+maven+tomcat in Eclipse



My eclipse version is 4.4 Luna.

1. Install Eclipse plugin ( spring framework, maven)


Go eclipse menu Help->Market Place.. 

Searching STS

Install Spring Tool Suite (STS) 

If completed install STS then searching maven.




Install Maven Integration for Eclipse를 설치하세요.

2. Install Tomcat 

Click to  Tomcat download 




Click to 32-bit/64-bit Windows Service Installer for download.

And Install!!

Click to Eclipse menu window->Preferences 




Click to tab Server->Runtime Environments

Click to add

Choose Apache Tomcat v8.0 then Click to Finish.



Click to Edit

Click to Browse.. and choose your tomcat folder.

And choose your JRE then Click to Finish

3. Run Server & Spring MVC project


new->others





Server-> Server


Choose Tomcat v8.0 Server and Click to Finish.

new->others





Spring-> Spring Project




Choose Spring MVC Project and write to Project name



Write to package name and Finish



Run As->Run on Server를 누르시면




If you Korean, add this code in home.jsp 

  1. <%@ page contentType="text/html; charset=UTF-8" %>

And refresh browser





No comments:

Post a Comment