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="...
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
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
JAVA批量修改文件夹中的文件名 import java.io.File;/** * 批量重命名文件 * * @author YueYaobin * @create 2021/4/20 */public class updateFileName { public static void main(String[] args) { //文件所在路径,所有文件的根目录,记得修改为你电脑上的文件所在路径 String dir = "F:\\学习"; //新字符串,如果..
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...
外部调用layui里面的方法 方法一、外部调用: onclick="layui.edit(' + id + ')"内部接收: layui.edit = function(id){ console.log(id); }方法二、外部调用: onclick="clickDic(' + id + ')"内部接收: window.clickDic= func...
配置windows下域名解析及修改hosts文件不起作用的问题 一、配置windows下域名解析文件位置:c:\windows\system32\drivers\etc\hostswindows下修改的文件为:到命令行(cmd) ping一下,看是否解析注意:中间的空格建议从上边拷贝下来,使用tab出现ping不通的问题。二、修改hosts文件不起作用的问题1、关闭浏览器2、命令行(cmd)运行:ipconfig /flush...
Oracle删除用户时,提示“无法删除当前已连接的用户” (1)查看用户的连接状况 select username,sid,serial# from v$session;如下结果: username sid serial# ---------------------------------------- (nulll) 513 ...
Oracle 表空间、用户的创建与删除 一、创建用户与表空间1、创建临时表空间create temporary tablespace 临时空间名称tempfile 'D:\dbtemp.dbf' size 5m autoextend on next 5m maxsize 20480m extent management local; 2、创建数据表空间create tablespace 空间名...