老師同學們,寫測試類的時候,一直報這個錯誤,是怎么回事呢?
Error creating bean with name 'com.ahu.xrq.demo.dao.AreaDaoTest': Unsatisfied dependency expressed through field 'areaDao';
Error creating bean with name 'com.ahu.xrq.demo.dao.AreaDaoTest': Unsatisfied dependency expressed through field 'areaDao';
2018-03-16
刪除有小問題,刪除第一條記錄的時候,數組的數據會被全部刪除
有問題代碼:that.data.list.splice(e.target.dataset.index);
修改后:that.data.list.splice(e.target.dataset.index,1);
有問題代碼:that.data.list.splice(e.target.dataset.index);
修改后:that.data.list.splice(e.target.dataset.index,1);
2018-03-16
最后一步插入!java.lang.reflect.InvocationTargetException 跪求
老師,就差最后一步了,單元測試的時候插入和更新都沒有問題,但是在最后前后聯調的時候,插入和更新都有報錯,java.lang.reflect.InvocationTargetException ,service也實例化了,就是service的方法不執行!求老師告知啊
老師,就差最后一步了,單元測試的時候插入和更新都沒有問題,但是在最后前后聯調的時候,插入和更新都有報錯,java.lang.reflect.InvocationTargetException ,service也實例化了,就是service的方法不執行!求老師告知啊
2018-03-16
Error creating bean with name 'com.ahu.xrq.demo.dao.AreaDaoTest': Unsatisfied dependency expressed through field 'areaDao'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.ahu.xrq.demo.dao.AreaDao' available:
2018-03-16
老師,問幾個問題,這里您的代碼里面使用事物只有在add方法里面嗎?還有就是關于異常的記錄,第一次用的e.getMessage,而后面用的是e.toString,請問這是為什么呢?
2018-03-14
補充一下,在wxml中給data添加數據的時候--data-areaid--如果用了大寫 比如(areaId),在相應的js中就拿不到該值(前提你前后對應屬性值是一樣的,不然怎么都拿不到)
2018-03-14
https://gitee.com/xiangze/areadisplay/blob/master/pages/operation/operation.wxml#
2018-03-11
舊版的微信開發者工具,新建一個頁面都要在app.json將頁面定義進來,即 "pages/list/list"。不然顯示不了吧。
2018-03-11