File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes help with maven and sts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "help with maven and sts" Watch "help with maven and sts" New topic

help with maven and sts

dimo kilala

Joined: May 24, 2013
Posts: 1
I'm new to Java Development and I'm trying to go through this book Spring in Practice.
The trouble is the book assumes the reader is familiar with Maven and I am not.
I don't know how to work the sample code which is found here:
The author also posted some instructions here which i don't understand:
Apparently it's a "multi-module" project with each chapter having separate branches.

I downloaded STS and tried to import the Maven projects but I don't know what to do next.
Can anyone please help me?
It's very frustrating that I'm trying to learn Spring and I'm expected to first learn something that is not essential to Spring itself.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33098

Welcome to CodeRanch!

This article serves as a decent intro to Spring. After you read that, can you post what step you got up to in the instructions? In other words, what did you get stuck on? Was there an error message?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Peter Johnson

Joined: May 14, 2008
Posts: 5852

I have found that many projects have switched to Maven for builds and you need Maven knowledge to build and run the example apps. So it is worthwhile to learn something about Maven; a good place to start would be Better Builds with Maven ( - it's a little dated but it does explain the concepts behind Maven and then walks you through two tutorials (one a regular Java app, one a web app) that will help you gain a good understanding of Maven. And it doesn't take all that long - I think I went through it in about 1/2 day.

For a more up-to-date Maven reference, use Maven: The Complete Reference (

JBoss In Action
I agree. Here's the link:
subject: help with maven and sts
jQuery in Action, 3rd edition