1. Gradle Build File 示例引用 Spring 实战(第 4 版)第 1 章 Spring 之旅 build.gradle apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' jar { baseNam ...
分类:
其他好文 时间:
2020-10-05 21:48:04
阅读次数:
23
定义: 策略模式(Strategy):它定义了算法家族,分别封装起来,让它们之间可以互相替换,此模式让算法的变化,不会影响到使用算法的客户。 结构: Strategy(策略类):定义所有支持的算法的公共接口。 ConcreteStrategy(具体策略类):封装了具体的算法或行为,继承于Strate ...
分类:
Web程序 时间:
2020-09-23 23:22:10
阅读次数:
41
分页插件使用的方式修改pom文件,添加分页jar包依赖修改mybatis.xml文件UserDao接口,UserMapper.xml添加对应方法与实现sql对应UserService接口添加分页查询方法测试分页效果案例实操1.修改pom文件,添加分页jar包依赖<dependency><groupId>com.github.pagehelper</groupId>
分类:
其他好文 时间:
2020-09-18 12:18:22
阅读次数:
52
#1.安装Eclipse EE版本 #2.配置Eclipse 配置Eclipse 将插件hadoop-eclipse-plugin-2.6.0jar拷贝到Eclipse安装目录下的dropins目录 启动Eclipse,增加Map/Reduce功能区 增加Hadoop集群的连接 导入MapReduc ...
分类:
系统相关 时间:
2020-09-18 01:39:40
阅读次数:
46
Solon详解系列文章: Solon详解(一)- 快速入门 Solon详解(二)- Solon的核心 Solon详解(三)- Solon的web开发 Solon详解(四)- Solon的事务传播机制 Solon详解(五)- Solon扩展机制之Solon Plugin Solon详解(六)- Sol ...
分类:
编程语言 时间:
2020-09-18 01:01:12
阅读次数:
35
Plugin group_replication reported;Authentication plugin ‘caching_sha2_password‘ reported error: Authentication requires secure connection. Error_code: MY-002061
分类:
数据库 时间:
2020-09-17 22:46:40
阅读次数:
36
SpringCloud构建微服务是基于SpringBoot开发的。 创建服务提供者的访问方法,消费者如何访问提供者,SpringCloud是基于rest的访问,他们之间是通过json进行交互 创建服务提供者 依赖 <!--springboot开发web项目的依赖--> <dependencies> ...
分类:
编程语言 时间:
2020-09-17 20:35:44
阅读次数:
28
很多用户在使用Navicat Premium 12连接MySQL数据库时会出现 Authentication plugin 'caching_sha2_password' cannot be loaded 出现这个原因是mysql8 之前的版本中加密规则是mysql_native_password, ...
分类:
数据库 时间:
2020-09-17 19:00:52
阅读次数:
42
突然有一次遇到<tamplate>标签的代码可以折叠,但它内部的代码块却无法折叠 解决方法: 点击VSCode软件左上角工具栏的:文件 =》 首选项 =》设置 =》在搜索设置输入框输入 Folding =》修改 Editor:Folding Strategy 选项的值 auto 为 indentat ...
分类:
其他好文 时间:
2020-09-17 16:23:16
阅读次数:
19
## CKA真题解析#### 1**Set configuration context $kubectl config use-context k8s. Monitor the logs of Pod foobar and Extract log lines corresponding to err... ...
分类:
其他好文 时间:
2020-09-17 15:56:26
阅读次数:
34