This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hello,
I just try to learn the Spring framework , and I ran into an error message when I try to run a simple spring "helloWorld" application.
The error stated that "org.springframework.core.io.ClassPathResource cannot be cast to org.springframework.beans.factory.BeanFactory" which refer to this code in my program:
and the file SpringHelloWorld.xml is located in /Spring/src/SpringHelloWorld.xml
If you are learning Spring new, then you will never ever use that type of code. That is over 5 years old style of Spring coding. I recommend finding Spring materials that are up to date.
You will use a class that implements ApplicationContext instead.