User Comments for the tutorial:

Develop Hello World example using Spring 3.0 Framework



Thanks for the tutorial! 

Good One
Cool Tutorial! Very Simple, direct and easy to use. Thanks 

Used FileSystemResource instead of ClassPathResou
For the life of me, using ClassPathResource would universally result in a "file not found" exception. I tried manipulating the class path from Eclipse and moving the XML around between candidate locations to no avail. I don't fully comprehend how 

error while running the application
I followed the above example and ended up with this following error[ org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [SpringHelloWorld.xml] Exception in t 

Error running this example
commons-logging.jar is needed in the classpath to run the above example 

Dude you said copy the commons jar but never explained where it comes from?? I assume it is the Apache Commons jar file right? Otherwise however great tutorial!!  

a bit complicated
Wow, that's quite a bit of work to come up with "Hello World." I've been a java developer for years and worked quite a bit with xml, but to be honest I never have liked xml. It's messy. 

keep goin
so far very good site for springs... Keep it up guys 

Incurred 2 exceptions after copying your examples directly. (1) In Spring3HelloWorldTest, the ClassPathResource path must be absolute, rooted to the project's src dir. So, the correct construction for that line is: XmlBeanFactory beanFactory = 

failed to copy spring3 jar files into Eclipse IDE
Hi, I followed this Hello World tutoral. In step 6, I cannot paste the .jar files from\spring-framework-3.0.1.RELEASE\dist folder into Eclise IDE. Error message is "cannot paste the clipboard content into 

spring 3.0 with database connection
is there similar tutorial which gives example connecting to a database n querying using spring 3.0? 

eclipse download
Many thanks, this helps a super newbie get the basics installed and running. Be sure it's clear to download Eclipse IDE for Java EE Developers or the tutorial won't get you too far. 

I am getting an Exception as follows Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'SpringHelloWordBean' is defined at 

not working
Jun 22, 2010 7:45:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [SpringHelloWorld.xml] Exception in thread "main" org.springframework.beans.factor 

i have spring 3.0.0. jars don't have annotation class. it is giving compilation errors for above classes, may i know how can i resolve this issue. 

This tutorial is excellent, I learnt a lot from it. Thanks 

Is that working?
is the above example working for anybody? 

Error running project
I am getting error when i am running this project Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at<init>(DefaultSingletonB 

Thanks Guys
Really good approach for Spring beginners. Thanks guys for short tutorial. 

Exception Generated
Good Tutorial for beginners but there is an exception generated- logfactory. Add 2 Jar files to remove exception commons-logging.jar and log4j. I would like to know why we need to add these jars ? 

it did not work if the class files are in different packages 

Big Thanks..
I really appreciate for your tutorial. It is very clear..  

Error:Unknown Host: URL
i am new to spring framework... When i tried this in netbeans 6.9.1, it is showing an error saying Error:Unknown Host: URL Resource i have added the jar files too... ........................ why? 

Helloworld Spring tutorial
This is a very nice and simple Hello work tutorial. I really appreciate for making to learn in very easy way. Thanks, Suresh. 

It is very nice to lean. 

Related Tutorial and Articles