Classpath problem: configLocation in Spring
问题 I am having some kind of classpath problem: I've put my context.xml files in META-INF/spring/conf/ They can be perfectly found by Spring using classpath:WEB-META/spring/conf/root-context.xml ( root-context.xml references other xml's). My Hibernate.cfg.xml is on src/main/resources , so it 'should' be on the classpath, however Spring doesn't seem to find it when it tries to Autowire a Hibernate template in one of my DAO classes. I tried using a simple query with Spring in a main class, here it