This quick guide example uses Maven to generate a simple Java project structure, and demonstrates how to retrieve Spring bean and prints a “hello world” string. Technologies used in this article : Spring 2.5.6 Maven 3.0.3 Eclipse 3.6 JDK 1.6.0.13 1. Generate project structure with Maven In command prompt, issue following Maven command : mvn archetype:generate -DgroupId=com.mkyong.common -Dartifact
![Maven + Spring hello world example - Mkyong.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/642241bb861cf366f1d88afe7aa4804ae2e995f7/height=288;version=1;width=512/https%3A%2F%2Fmkyong.com%2Fwp-content%2Fuploads%2F2010%2F03%2Fspring-hello-world-example.png)