This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes create the spring mvc folder structure in maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "create the spring mvc folder structure in maven" Watch "create the spring mvc folder structure in maven" New topic
Author

create the spring mvc folder structure in maven

Tijo Mathew
Greenhorn

Joined: Mar 12, 2012
Posts: 16
Hi
I am trying to create a folder structure as showed in image to proceed with developing a spring mvc web application. But i failed to create the above structure in eclipse. Appreciate if anyone help me to create the showed structure in eclipse


[Thumbnail for screenshot.jpg]

H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 393
1. Just download Spring eclipse-based IDE STS and create a new Spring Template Project, Spring MVC project. (it's maven based project)
2. Or download STS pluging for eclipse if available.
3. Have a check at Spring web site.

Manish Chhabra
Greenhorn

Joined: Feb 24, 2010
Posts: 15

You can create a maven project using archetype

maven-archetype-webapp


If you are doing that from command line, then import into eclipse by using

mvn eclipse:eclipse -Dwtpversion=2.0


Or have a look at the instructions at the Hello world example using Spring MVC.

Cheers


Manish Chhabra
 
 
subject: create the spring mvc folder structure in maven
 
Similar Threads
Need help in setting up the PetClinic project in eclipse
ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
Error on making a project with m2e + eclipse indigo + springmvc-archetype
New to spring2.5
Javascript files in Tomcat