老師同學(xué)們有遇到這個(gè)問題的嗎?感謝指教!!寫測試類的時(shí)候一直報(bào)這個(gè)錯(cuò),郁悶啊,
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'areaDao' defined in file [E:\lx\github\java\demo\target\classes\com\imooc\demo\dao\AreaDao.class]: Unsatisfied dependency expressed through bean property 'sqlSess
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'areaDao' defined in file [E:\lx\github\java\demo\target\classes\com\imooc\demo\dao\AreaDao.class]: Unsatisfied dependency expressed through bean property 'sqlSess
2018-03-31
對(duì)的樓下說的對(duì),我的也是我的server.context-path要報(bào)錯(cuò),寫成server.servlet.context-path才行
2018-03-29
我加了項(xiàng)目路徑后,報(bào)以下錯(cuò)誤Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Mar 29 11:12:51 GMT+08:00 2018
There was an unexpected error (type=Not Found, status=404).
No message available
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Mar 29 11:12:51 GMT+08:00 2018
There was an unexpected error (type=Not Found, status=404).
No message available
2018-03-29
如果還沒有配置數(shù)據(jù)源,在啟動(dòng)類配置要加上@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
2018-03-29
我的server.context-path要報(bào)錯(cuò),寫成server.servlet.context-path才行
2018-03-28