Using properties file for defining class dependency
Tai Kings
Greenhorn
Joined: Jul 07, 2011
Posts: 1
posted
0
Hi All,
I am new to Spring, and following the examples of Spring book, but have problem about BeanFactory using Properties file. Please help
- Posted 3 files (complete code) and 1 screen capture about error message.
- Environment : J2SE 6 , spring-framework-3.0.5.RELEASE, Eclipse Java EE IDE for Web Developers.
- FYI, in previous lab example, can successfully use xml configuration file for definiting class dependency, but failed when using property file (non-xml file)
If looked the error message carefully and pay attention to error you'll see that it tell
you clearly that you didn't specified the class name on the bean definition.