wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 17249
    
    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
 
Consider Paul's rocket mass heater.
 
subject: Wanted: Maven archetype for Minimal Spring MVC/JSP page
 
Similar Threads
Starter Template Files for Java Programmers
unable to create project from archetype
Unable to create Spring AOP archetype using Maven in Eclipse
Wanted: Spring tutorials with Maven (or Ant)
maven struts2 plugins