会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
若冲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2019年3月15日
mybatis逆向工程失败
摘要: [ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project maventest: Execution defau
阅读全文
posted @ 2019-03-15 10:47 若冲
阅读(587)
评论(0)
推荐(0)
2019年3月12日
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group t1,customer t2
摘要: 经常我们会运行sql时会报sql语句出错,经常看半天发现sql语法没有错,后来发现是表名是关键字,例如group、user导致了sql出错 下次出错,一定要注意关键字 解决办法: group两边加上·,就是esc下面那个键·,数字1左边那个·,变成·group·就好了
阅读全文
posted @ 2019-03-12 16:30 若冲
阅读(223)
评论(0)
推荐(0)
Exception in thread "main" org.apache.ibatis.binding.BindingException: Type interface com.test.bean.groupMapper is not known to the MapperRegistry.
摘要: 解决办法,逆工程没有添加对应的映射包路径,加好就可以了,mybatis.xml中添加
阅读全文
posted @ 2019-03-12 16:18 若冲
阅读(2318)
评论(0)
推荐(1)
2019年3月11日
mybatis第一次搭建出错
摘要: 解决办法 后来发现是UserMapper.xml配置错了
阅读全文
posted @ 2019-03-11 10:42 若冲
阅读(729)
评论(0)
推荐(0)
2019年3月10日
ssh 框架整合事,使用注解,action提示找不到
摘要: There is no Action mapped for namespace [/] and action name [/select] associated with context path []. action的访问,我们采用了动态方法调用的方式来访问,也就是使用叹号“!”,有些需求是需要跳
阅读全文
posted @ 2019-03-10 18:20 若冲
阅读(610)
评论(0)
推荐(0)
2019年3月7日
ssh整合,hibernate查询表数量count以及批处理添加
摘要: hibernate查询表数量count
阅读全文
posted @ 2019-03-07 21:23 若冲
阅读(1377)
评论(0)
推荐(0)
shh和maven项目报错
摘要: 朋友整合ssh时突然报错, 第一反应是去看web.xml,发现struts2的preParedAndExecuteFilter中url-patternxie错了,原来是/*,action,应该改成 *。action或/* 后来发现是maven里面,默认加的junit,因为疏忽加了两个,全部删掉就好了
阅读全文
posted @ 2019-03-07 12:56 若冲
阅读(179)
评论(0)
推荐(0)
2019年3月6日
idea基于hibernate生成的Entitle对象,会忽略外键属性
摘要: 需要自己手动添加 如
阅读全文
posted @ 2019-03-06 13:20 若冲
阅读(267)
评论(0)
推荐(0)
SSH框架整合,css、js会被过滤器过滤掉
摘要: 如果是默认状态 会过滤掉css和js文件,改成这样可以解决
阅读全文
posted @ 2019-03-06 13:16 若冲
阅读(845)
评论(0)
推荐(1)
struts2注释返回json数据
摘要:
阅读全文
posted @ 2019-03-06 12:59 若冲
阅读(213)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告