Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you create a Spring MVC project in Eclipse?

I am trying to follow the basic tutorial for Spring MVC but got lost at creating a new project in Eclipse.
It seems to me that most tutorials assume you know how to create a Spring Project in Eclipse.
Any advice on where to get started or tutorials which explain how to set up Eclipse would be appreciated.

like image 933
Rob Avatar asked Jan 25 '10 20:01

Rob


Video Answer


2 Answers

You want to create a "Dynamic Web Project". Follow the steps here: Spring MVC Tutorial with Eclipse and Tomcat.

Also, here is the Eclipse documentation for Dynamic Web Projects: http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.wst.webtools.doc.user/topics/ccwebprj.html

like image 67
danben Avatar answered Oct 13 '22 06:10

danben


Download Spring STS (SpringSource Tool Suite) and choose Spring Template Project from the Dashboard. This is the easiest way to get a preconfigured spring mvc project, ready to go.

like image 32
Sven Haiges Avatar answered Oct 13 '22 07:10

Sven Haiges