怎么辦正常啟動(dòng)項(xiàng)目通過(guò)瀏覽器測(cè)試沒(méi)有問(wèn)題,通過(guò)junit測(cè)試報(bào)Invalid bound statement (not found),看日志是沒(méi)掃描到mapper.xml配置文件,我猜想是springboot的application.properties也沒(méi)讀取到Property 'mapperLocations' was not specified or no matching resources found
SpringBoot和mybatis采用junit測(cè)試時(shí)找不到mapper.xml
郎朗坤
2018-07-30 04:04:51