Trying to set up a project but fail at Autowiring objects through Spring.
package se.hsr.web; public class TestRunner { public static void main(String[
you are creating the POJO outside of the spring context.
if you really want to be able to instanciate "manually", you can fix this, by adding to your configuration, and then annotating ContactDAOImpl with @Configurable
ContactDAOImpl
@Configurable