摘要:
在LocalDate类型字段上面增加: @JsonFormat(pattern = "yyyy-MM-dd")private LocalDate birth; 注解即可。 阅读全文
摘要:
1.添加Maven依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.1.2</version> </dependency> 2.Word文档模版中以${xxx 阅读全文
摘要:
下载地址:https://github.com/fex-team/ueditor/releases/tag/v1.4.3.3 应用服务器使用:weblogic 源码下载后,将ueditor相关文件放置到Web目录 (1)修改ueditor.config.js配置文件 增加以下配置: window.U 阅读全文
摘要:
Kafka依赖zookeeper,在安装Kafka之前首先运行zookeeper服务。 1:安装配置zookeeper (1)解压apache-zookeeper-3.5.6-bin.tar.gz 到D:\tmp\apache-zookeeper-3.5.6-bin目录; (2)到conf目录,将z 阅读全文
摘要:
1:查看用户密码信息:SELECT `user`, `host`, `authentication_string`, `plugin` FROM mysql.user; 发现root密码与其他系统用户密码格式不一致。 2:修改密码规则 ALTER USER 'root'@'%' IDENTIFIED 阅读全文
摘要:
1:在项目下面创建libs文件 2:在pom.xml中引入依赖 <dependency> <groupId>com.XXXX</groupId> <artifactId>XXXX</artifactId> <version>16.8</version> <scope>system</scope> < 阅读全文
摘要:
在解析XML文件时: org.dom4j.DocumentException: Error on line 1 of document : An invalid XML character (Unicode: 0x5) was found in the element content of the 阅读全文
摘要:
String fileName; String userAgent = request.getHeader("user-agent").toLowerCase(); if(userAgent.contains("msie") || userAgent.contains("like gecko")){ 阅读全文
摘要:
/** * 获取4位包括字母+数字的随机码 * @return */ public static String getRandomValidStr(){ String letters[] = {"A","B","C","D","E","F","G","H","I","J","K","L","M"," 阅读全文
摘要:
1.pom.xml引入相关依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.0.3</version> </dependency> 阅读全文