一直報(bào)這個(gè)錯(cuò)
lError in the bean with the name 'org.mybatis.spring.mapper.MapperScannerConfigurer' defined in the classpath resource [spring/spring-dao.xml]: bean instantiation failed; nested exception is java.lang.IllegalStateException: no Specify the bean class on the bean definition
我仔細(xì)檢查過(guò)spring-dao.xml文件了?
2018-08-05
不多說(shuō)
2018-07-14
最后那個(gè)MapperScannerConfigurer? bean寫錯(cuò)了,寫成了id填了類路徑,應(yīng)該是class