摘要: 1. com.github.crab2died.exceptions.Excel4JException: java.beans.IntrospectionException: Can not get the getter or setter method 写入的对象类的属性要小写不能大写 错误展示: 阅读全文
posted @ 2020-08-14 11:38 老王同鞋 阅读(420) 评论(0) 推荐(0) 编辑
摘要: Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain 1. 安装maven # 安装wget http://mirrors.hust.edu.cn/apache/maven 阅读全文
posted @ 2020-07-20 20:56 老王同鞋 阅读(5880) 评论(1) 推荐(0) 编辑
摘要: <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <appendAssemblyId>false</appendAssemblyId> <descriptorRefs> 阅读全文
posted @ 2020-07-16 13:04 老王同鞋 阅读(3389) 评论(0) 推荐(0) 编辑
摘要: 下载zookeeper wget http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.5.8/apache-zookeeper-3.5.8.tar.gz 解压 tar -zxvf apache-zookeeper-3.5.8.tar.gz 修改 阅读全文
posted @ 2020-07-16 10:06 老王同鞋 阅读(194) 评论(0) 推荐(0) 编辑
摘要: WRONGTYPE Operation against a key holding the wrong kind of value 原因: 因为Redis数据库中已经存在当前KEY对应的值,并且你现在的操作的数据类型于当前数据库中KEY对应的数据类型不一样。 比如: Redis中存在一个key为la 阅读全文
posted @ 2020-07-09 15:48 老王同鞋 阅读(10067) 评论(0) 推荐(0) 编辑
摘要: 1.保证虚拟机安装Redis 2.修改Redis配置文件 2.1 关闭Redis配置保护2.2 注释bind绑定IP2.3 设置Redis访问密码 3. 修改虚拟机设置 3.1 添加主机端口转发虚拟机 4. 关闭虚拟机防火墙 阅读全文
posted @ 2020-07-02 10:28 老王同鞋 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 1. 导入事务依赖 xmlns:tx="http://www.springframework.org/schema/tx" http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring 阅读全文
posted @ 2020-05-13 09:46 老王同鞋 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1. 导入maven依赖 <!--依赖--> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <depe 阅读全文
posted @ 2020-05-12 22:02 老王同鞋 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1. 在配置文件中导入AOP依赖 xmlns:aop="http://www.springframework.org/schema/aop" http://www.springframework.org/schema/aop http://www.springframework.org/schema 阅读全文
posted @ 2020-05-12 13:10 老王同鞋 阅读(376) 评论(0) 推荐(0) 编辑
摘要: AOP:面向切面编程,其核心思想就是,将原本代码中的公共业务进行抽取,如:日志、事务、权限验证等;实现公共业务代码的复用性,并且使特定业务的功能更纯粹,关注点减少。 AOP的本质是通过动态代理实现,通过反射机制获取动态代理对象,实现对公共业务的抽取。 这里简单介绍一下AOP的一些专有名词。 横切关注 阅读全文
posted @ 2020-05-11 22:21 老王同鞋 阅读(2217) 评论(0) 推荐(1) 编辑