 <p>Your configuration is mostly correct. The problem you face is that you use autowiring to inject one of <code>callService</code> dependencies. </p> <p>Seems that you use <code>SqlSessionDaoSupport</code> and its sqlSessionTemplate field is autowired. There are two templates defined so spring cannot automatically wire dependencies. You need specify correct template manually.</p>