最新回答 / SpecterX
去.m2倉庫中把c3p0刪掉<...圖片...>再回到eclipse右鍵項(xiàng)目->maven->update project試試看行不行,反正我當(dāng)時(shí)也是提示?ComboPooledDataSource 找不到,按照上面的操作后,就能引用com.mchange.v2.c3p0.ComboPooledDataSource 這個(gè)了
2019-08-26
最新回答 / qq_文文_14
控制層方法不加@ResponseBody返回的json的方法:1、使用@ResponseBody表示直接在response中加入一實(shí)體(如Json格式)并直接返回??? @RequestMapping(value = "/{courseId}",method = RequestMethod.GET)??? public @ResponseBody Course getCourseInJson(@PathVariable Integer courseId) {??????? Course course = ...
最新回答 / 慕天心
新增區(qū)域信息的時(shí)候沒有傳areaId這個(gè)參數(shù),也就導(dǎo)致options 里面沒有 areaId,所以才報(bào)錯,我這里是處理是list.js中新增區(qū)域信息的url改成'../operation/operation?areaId=0',在operation.js中onLoad函數(shù)中<...圖片...>改成<...圖片...>,這樣報(bào)錯就沒有了!
2019-08-20
最新回答 / golf_moon
我也遇到這個(gè)問題 求大神解決?。?!?Error creating bean with name 'areaDao' defined in file [D:\SpringBoot\demo\target\classes\com\imooc\demo\dao\AreaDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframe...
2019-08-10
最新回答 / qq_關(guān)中二流子_04291279
能否麻煩一下,用兩個(gè)簡單的微服務(wù)分別使用feign、rest api 、httpclient實(shí)現(xiàn)一下
2019-08-08
講師回答 / 翔仔
同學(xué)好,課程里面解釋了哈,其一,主要是為了接軌實(shí)戰(zhàn)課里我?guī)ьI(lǐng)大家從SSM框架無縫遷移至Springboot。其二,spring分為幾種配置,基于xml,基于注解以及基于bean config,而bean config雖然編碼比較多,但是是最靈活的一種方式,建議注解+bean config這種形式來管理自己的spring應(yīng)用
2019-08-07
最新回答 / qq_精慕門2288229
問題解決了
sqlSessionFactoryBean.setMapperLocations(resolver.getResources(packageSearchPath));這句代碼
getResources方法調(diào)錯了,少了個(gè)s?
2019-07-26
最新回答 / 慕運(yùn)維005214
有沒有在配置文件中配置?
mybatis: ??mapper-locations:?classpath*:mapper/*.xml ??type-aliases-package:?com.imooc.weixin.domain
2019-07-24