![](https://img-blog.csdnimg.cn/20190918140037908.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
bug解决 前端 数据库
遇到的解决方法
qq_40448193
这个作者很懒,什么都没留下…
展开
-
hibernate5.HibernateSystemException: ids for this class must be manually assigned before calling sav
hibernate5.HibernateSystemException: ids for this class must be manually assigned before calling save():这错就是没理解清楚hibernate的主键生成策略。native,assigned以及uuid第一种:nativenative为id自动生成策略,生成的是数字id,添加数据到mys...原创 2019-10-26 11:33:00 · 373 阅读 · 0 评论 -
使用easyui-combotree显示不出来节点文本值
"children": [ { "children": [], "code": "decidedzone", "description": "", "generatemenu": "1", "id": "116",...原创 2019-10-26 00:23:50 · 786 阅读 · 0 评论 -
使用shiro之后加@RequiresPermissions不能够注入serivce,启动不报错,访问才报错
10:47:26,012 ERROR DefaultDispatcherErrorHandler:42 - Exception occurred during processing request: nulljava.lang.NullPointerException at com.itxin.bos.web.action.StaffAction.pageQuery(StaffAction.j...原创 2019-10-17 12:38:59 · 230 阅读 · 0 评论 -
mfx转发时相对路径静态资源找不到解决
项目.js .css图片资源全部用的是相对路径,转发时图片丢失。我的页面都放在web0下,而servlet地址是项目名称下的地址http://localhost:8080/项目名称/servletName解决办法1:因为转发后的相对地址变了,在它的上一级找不到images文件夹,自然找不到图片资源。servlet地址改成跟页面资源同路径,看这:http://localhost:8080/...原创 2019-09-21 16:19:00 · 344 阅读 · 0 评论