of TestRepository I am getting repository null.
I am setting up the application as follows
I think that because of '@EnableJpaRepositories("com.packtpub.springdata.jpa.repository")' above ContactRepository should be injected in TestRepository since I used '@Configurable(autowire = Autowire.BY_NAME,dependencyCheck=true)' because I am instantiating the object myself and it is not managed by Spring. @Configurable is difficult to use and I have read in some cases you must use aspectj.
Your help will be greatly appreciated,