- 博客(14)
- 收藏
- 关注
原创 从零搭建SpringBoot Web单体项目【基础篇】1、IDEA搭建SpringBoot项目
IDEA搭建SpringBoot项目 spring boot 整合Freemarker
2022-05-09 21:09:09
989
原创 IDEA启动项目报Command line is too long. Shorten command line for XXXApplication or also for
问题描述:解决方法:1、打开项目所在位置,找到你的项目下面的.idea\workspace.xml2、关闭idea3、打开workspace.xml,在PropertiesComponent的最后添加:<property name="dynamic.classpath" value="true" />例如<component name="PropertiesComponent"> <property name="...
2022-05-03 13:38:11
704
原创 mysql查询并给每行添加自增序列,并解决在mybatis的xml中写mysql语句中的变量 如set @i=1
实例SELECT (@i :=@i + 1) AS seq, a.id AS id, a.name AS name, b.name AS deptNameFROM sys_user a LEFT JOIN sys_dept b ON b.id = a.dept_id ,(select @i:=0) as t要在mybatis的xml中写mysql语句中的变量 如set @i=1,需要在数据库相关的配置文件中设置允许多个sql执行 mysql的连接url + allow
2021-06-04 18:39:13
1423
原创 springboot引用jar包中的bean报错,需要特殊引用
错误信息Caused by: org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'SpFilterWrapper' defined in class path resource [org/jeecg/config/shiro/SsoFilterRegistration.class]:Bean instantiation via factory method failed; ne
2021-06-04 18:25:49
736
原创 JAVA批量修改文件夹中的文件名
import java.io.File;/** * 批量重命名文件 * * @author YueYaobin * @create 2021/4/20 */public class updateFileName { public static void main(String[] args) { //文件所在路径,所有文件的根目录,记得修改为你电脑上的文件所在路径 String dir = "F:\\学习"; //新字符串,如果..
2021-04-20 15:22:13
915
4
原创 Hibernate中hql三种方式实现分页关联查询
1.用户实体类 User.classpackage com.system.user.entity.guard;import com.fasterxml.jackson.annotation.JsonIgnore;import lombok.Data;import org.hibernate.annotations.Cascade;import org.hibernate.ann...
2020-03-20 09:01:16
846
原创 idea中配置好git后,提交代码时点击commit窗口闪烁,没有下一步显示代码的解决办法
具体步骤:打开顶部工具栏 File -> Settings 搜索git;对比自己的idea 按照下图设置
2020-03-20 08:48:26
5287
原创 外部调用layui里面的方法
方法一、外部调用: onclick="layui.edit(' + id + ')"内部接收: layui.edit = function(id){ console.log(id); }方法二、外部调用: onclick="clickDic(' + id + ')"内部接收: window.clickDic= func...
2019-12-25 18:10:06
3010
原创 配置windows下域名解析及修改hosts文件不起作用的问题
一、配置windows下域名解析文件位置:c:\windows\system32\drivers\etc\hostswindows下修改的文件为:到命令行(cmd) ping一下,看是否解析注意:中间的空格建议从上边拷贝下来,使用tab出现ping不通的问题。二、修改hosts文件不起作用的问题1、关闭浏览器2、命令行(cmd)运行:ipconfig /flush...
2019-04-11 12:03:46
10890
6
原创 Oracle删除用户时,提示“无法删除当前已连接的用户”
(1)查看用户的连接状况 select username,sid,serial# from v$session;如下结果: username sid serial# ---------------------------------------- (nulll) 513 ...
2018-10-22 11:18:37
554
1
原创 Oracle 表空间、用户的创建与删除
一、创建用户与表空间1、创建临时表空间create temporary tablespace 临时空间名称tempfile 'D:\dbtemp.dbf' size 5m autoextend on next 5m maxsize 20480m extent management local; 2、创建数据表空间create tablespace 空间名...
2018-10-11 13:27:36
302
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人