1.通过IDEA加大jvm,tomcat内存 在VM options中添加:-Dfile.encoding=UTF-8 -mx2048m -XX:MaxPermSize=2048m -Drebel.spring_plugin=true -Drebel.hibernate_plugin=true 2. ...
分类:
其他好文 时间:
2020-07-03 12:22:52
阅读次数:
67
1. 拦截器注解 1. mybatis自定义拦截器实现步骤: 实现org.apache.ibatis.plugin.Interceptor接口。 添加拦截器注解org.apache.ibatis.plugin.Intercepts。 配置文件中添加拦截器。 2. 在mybatis中可被拦截的类型有四 ...
分类:
其他好文 时间:
2020-07-03 10:58:18
阅读次数:
63
mybatis若想实现自定义拦截器,需要实现Interceptor接口,对象首先会执行plugin(Object target)方法,根据类上的@Intercepts注解决定是否拦截。若需要拦截,则调用intercept(Invocation invocation)方法。 1. 准备工作 需要拦截的 ...
分类:
其他好文 时间:
2020-07-03 10:37:17
阅读次数:
57
目 录 1 绪论 1 1.1 项目概述 1 1.2 项目意义 1 2 开发工具和相关技术简介 2 2.1 Eclipse简介 2 2.2 Java语言介绍 2 2.3 MySQL简介 3 2.4 JDBC技术简介 3 3 系统需求分析 4 3.1 系统可行性分析 4 3.2 系统需求分析 4 3.3 ...
分类:
其他好文 时间:
2020-07-03 09:14:18
阅读次数:
57
Java课程设计 (综合项目文档) 多人聊天室 二〇二〇年七月 目 录 1 绪论 1 1.1 项目概述 1 1.2 项目意义 1 2 开发工具和相关技术简介 2 2.1 Eclipse简介 2 2.2 Java语言介绍 2 3 系统需求分析 4 3.1 系统可行性分析 4 3.2 系统需求分析 4 ...
分类:
其他好文 时间:
2020-07-03 01:01:31
阅读次数:
63
之前的项目架子element是按需引入的,新项目中打算全局引入整个element。(虽然前者会减小项目体积) 在main.js中引入element后出现以下报错信息,和babel-plugin-component有关。在此记录一下 先是把babel.config.js里面配置注释了,还是报错 最后把 ...
分类:
其他好文 时间:
2020-07-03 00:47:18
阅读次数:
89
商品列表查询 Easyui 商品添加 商品类目选择 图片上传 富文本编辑器使用 添加的实现 展示首页 略 分页插件 在SqlMapConfig.xml,配置一个plugin 在sql语句执行之前,添加一个PageHelper.startPage(page,rows); 取分页结果,创建一个PageI ...
分类:
其他好文 时间:
2020-07-03 00:46:11
阅读次数:
59
解决方法: 右键点击 tomcat 然后选择clean, 再重新启动项目 ...
分类:
Web程序 时间:
2020-07-02 18:13:17
阅读次数:
116
1. 打开Eclipse,然后“顶部状态栏Eclipse”→“偏好设置” 2. 选择“java”,展开,“Editor”,选择“Content Assist”。 3.选择“Content Assist”,然后看到右边,右边的“Auto Activation”下面的“Auto Activation t ...
分类:
系统相关 时间:
2020-07-02 18:12:09
阅读次数:
204
1)在eclipse中定位到maven项目的pom.xml文件; (2)右击pom.xml文件,选择Run As >> Maven build… (3)在下图的Goals框中输入“dependency:copy-dependencies”,后点击“Run”即可。 当控制台出现“BUILD SUCCE ...
分类:
编程语言 时间:
2020-07-02 16:51:17
阅读次数:
55