• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

How to find a Compact Spring 3.0 MVC tutorial with annotations?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody recommend a compact Spring 3.0 MVC tutorial with annotations?

The tutorial has to have a working source code to download
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about this one
https://github.com/SpringSource/spring-mvc-showcase

That source code is kept up to date with new features. There was a blog/video that might be a little dated in that it won't cover the things that have been added to the src code since then but it is still mostly applicable . Find it here:
http://blog.springsource.org/2010/07/22/spring-mvc-3-showcase/
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is another tutorial, it's a getting started

http://blog.springsource.org/2011/01/04/green-beans-getting-started-with-spring-mvc/
 
Alex Narinsky
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I checked the tutorial from spring source but cannot retrieve the project - the git command gives me the connection error



git clone git://github.com/SpringSource/spring-mvc-showcase.git
Cloning into 'spring-mvc-showcase'...
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=No error
 
Bill Gorder
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe try forking it. Otherwise you can download it here:
https://github.com/SpringSource/spring-mvc-showcase/downloads
 
Alex Narinsky
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, this works. However, after importing as Maven project into Eclipse I am getting Eclipse errors:
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (execution: default, phase: process-sources)
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.2:test-compile (execution: default, phase: process-test-sources)

What is the best way of dealing with these errors? Please, note that I do not plan to use AspectJ now
 
Bill Gorder
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using STS? How are you importing the project, and is this the spring-mvc-showcase example? This error usually occurs when you are using the new m2e plugin with an older POM files that does not adhere to all the new rules. You can tell STS to use the older one by selecting the modules tab in the dashboard selecting the m2e plugin and clicking install. This will revert back to the old m2e plugin, you can re-install the new one by simply following the same process. The other option is to fix the POM to be compatible.
 
reply
    Bookmark Topic Watch Topic
  • New Topic