`
linzx0212
  • 浏览: 7437 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
操作系统:CentOS-7-x86_64-Minimal-1804.iso Redis客户端:redis-desktop-manager-0.9.3.817   安装 1.由于CentOS官方yum源里面没有Redis,这里我们需要安装一个第三方的yum源,这里用了Fedora的epel仓库 yum install epel-release 安装过程中会有让你确认 ...
工程结构:  Jar包   pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0&l ...
JDK:1.8 Tomcat:8.5.x   工程目录结构     pom.xml配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> & ...
1、pom.xml中引入jackson相关包 <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.5</version> </dependency>  最终引入的Jar包:   2、WebMvcConfig中配置Jackson的Bean @Configuration @EnableWebMvc @C ...
创建时异常日志: Error Code: 1418This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)   度娘了解决方案:   解决方法如下:1. mysql> set global log_bin_trust_function_creato ...
  枚举   /** * 性别枚举 */ public enum Gender { MALE(0), FEMALE(1), OTHER(2); private Gender(int i) { this.i = i; } private int i; public int getI() { return i; } public void setI(int i) { this.i = i; } }     1、注解方 ...
Global site tag (gtag.js) - Google Analytics