aspose file tools*
The moose likes Spring and the fly likes Wanted: Maven archetype for Minimal Spring MVC/JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Wanted: Maven archetype for Minimal Spring MVC/JSP page" Watch "Wanted: Maven archetype for Minimal Spring MVC/JSP page" New topic
Author

Wanted: Maven archetype for Minimal Spring MVC/JSP page

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 381
I tried a maven archetype (I wish I could remember: dynamic-web maybe?) for spring-mvc and I could not get it to work.

Can someone recommend a maven archetype that creates a minimal spring-mvc application that uses annotations in the java code that works with java1.7, eclipse and (of course) spring & maven?

Thanks
siegfried
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Actually the best one out there is built into Spring Roo. It creates all the Maven stuff for you. And when you use it to build controllers, it automatically updates your pom file. But when it does, you still have to run mvn eclipse:eclipse, or "perform eclipse" in the Roo shell, to update the Eclipse project's classpath.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wanted: Maven archetype for Minimal Spring MVC/JSP page