随笔分类 -  debug

摘要:配置aop报错:原因是配置切点表达式的时候报错了, 星号后面没有加空格: <aop:config> <aop:pointcut id="transactionPointcut" expression="execution(* project.mybatis.service.*.*(..))" /> 阅读全文
posted @ 2016-09-22 23:49 yansum 阅读(6857) 评论(0) 推荐(2) 编辑
摘要:今天使用别人的代码报错,但是有时又不报错原来是配置文件的顺序要遵守 注意 "必须匹配" 四个字, 其意味着顺序很重要, 必须要一致, 试试将 resultMap 中各元素的顺序修改为和错误信息中属性出现的顺序,修改一下顺序就好了。 阅读全文
posted @ 2016-09-19 11:34 yansum 阅读(13238) 评论(0) 推荐(1) 编辑
摘要:原因是mapper.xml中定义了相同的两个方法 阅读全文
posted @ 2016-08-18 09:50 yansum 阅读(174) 评论(0) 推荐(0) 编辑
摘要:check the manual that corresponds to your MySQL server version for the right syntax to use near 出现这个问题一般是你建的字段与Mysql的冲突了 阅读全文
posted @ 2016-08-04 12:27 yansum 阅读(331) 评论(0) 推荐(0) 编辑
摘要:1.双击server 2.更改timeout 阅读全文
posted @ 2016-07-19 21:46 yansum 阅读(681) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示