上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: docker info命令 输出显示: Server: ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 本次解决问题的资料: 关于Dock 阅读全文
posted @ 2021-06-08 10:54 海绵般汲取 阅读(8963) 评论(0) 推荐(1) 编辑
摘要: 当启用@EnableAuthorizationServer注解时,启动项目报错 报错信息 Description: Field configurers in org.springframework.security.oauth2.config.annotation.web.configuration 阅读全文
posted @ 2021-05-28 10:10 海绵般汲取 阅读(1646) 评论(0) 推荐(1) 编辑
摘要: 文件流加密涉及到大文件加密过程,不能直接使用Cipher.doFinal(byte[] bytes)方法进行直接加密 超大文件会导致内存溢出。 解决方法: 可以使用 Cipher.update(byte[] bytes) 方法进行文件流部分加密数据, 当整个文件流数据都加密完后,使用 Cipher. 阅读全文
posted @ 2021-05-06 19:07 海绵般汲取 阅读(2211) 评论(2) 推荐(0) 编辑
摘要: 具体使用示例链接:语雀 EasyExcel https://www.yuque.com/easyexcel/doc/write 示例代码 public class StudentExportDto { @ExcelProperty(value = {"学生信息", "姓名"} ,index = 0) 阅读全文
posted @ 2021-03-04 14:03 海绵般汲取 阅读(4404) 评论(0) 推荐(0) 编辑
摘要: List集合(ArrayList,Vector,LinkedList使用场景)和Set集合 参考链接: java各种集合类区别 https://blog.csdn.net/qq_30711091/article/details/88847892 Java 集合系列之四:Queue基本操作 https 阅读全文
posted @ 2021-03-03 18:37 海绵般汲取 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 1、ApplicationListener接口 2、上下文环境配置文件扩展:EnvironmentPostProcessor (重要) 3、ApplicationContextInitializer接口 上下文初始化器 4、BeanFactoryPostProcessor接口 对BeanFactor 阅读全文
posted @ 2021-03-02 18:49 海绵般汲取 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 总的来说,tomcat方式启动WAR包项目, tomcat会查询context上下文中实现ServletContainerInitializer接口的类,然后调用类的onStartup(Set<Class<?>> c, ServletContext ctx)方法 Spring的SpringServl 阅读全文
posted @ 2021-03-01 18:07 海绵般汲取 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: springBoot web方式启动过程 在这个启动过程中会有各种SpringBoot对外提供的扩展接口来对不同启动阶段进行自定义操作。 了解启动过程也是为了让我们更好理解SpringBoot提供的扩展接口使用 jar包启动或者外置war包启动都是调用SpringApplication.run()方 阅读全文
posted @ 2021-02-26 16:00 海绵般汲取 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: 字典数据是什么? 这里说了字典不是软件工程中说的数据字典。 字典数据:用于动态设置某对象的属性是属于在一个可列举的数据范围内的某一类型数据,使用字典类型作为该类别属性的唯一标识 如:用户类型:学生,老师,家长,校长等 有什么作用? 字典数据由两个表组成:字典类型表 dict_type,字典类型数据表 阅读全文
posted @ 2020-09-10 18:47 海绵般汲取 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: SpringBoot自动配置redis,主要是两个自动配置类 缓存管理器配置类:org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration redis封装了工具RedisTemplate自动配置:org.springfra 阅读全文
posted @ 2020-07-20 15:22 海绵般汲取 阅读(5419) 评论(0) 推荐(0) 编辑
摘要: java.util.List 分段 使用google的guava类库对List分段处理 List<Integer> intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); List<List<Integer>> subSets = Lists.pa 阅读全文
posted @ 2020-07-06 17:37 海绵般汲取 阅读(993) 评论(0) 推荐(0) 编辑
摘要: CommonValidatorImpl。java import org.springframework.beans.factory.InitializingBean; import org.springframework.stereotype.Component; import org.spring 阅读全文
posted @ 2020-06-19 18:26 海绵般汲取 阅读(1817) 评论(0) 推荐(0) 编辑
摘要: springBoot项目 war包启动原理参考链接: 【spring boot war包启动原理】 https://www.cnblogs.com/stone-with-big-ears/p/10950581.html 【Tomcat war包加载过程】https://www.jianshu.com 阅读全文
posted @ 2020-06-16 16:25 海绵般汲取 阅读(2487) 评论(0) 推荐(0) 编辑
摘要: 打包生成两个jar包 ssmdemo-plus.jar 引入了相关第三方依赖。 ssmdemo-plus.jar.original 仅包含应用编译后的本地资源 jar包的目录结构 |—— BOOT-INF |—— classes 存放的是应用编译后的class文件 |—— lib 存放的是应用依赖的 阅读全文
posted @ 2020-06-10 19:43 海绵般汲取 阅读(1705) 评论(0) 推荐(0) 编辑
摘要: Can't find error-message file 'D:\soft\mysql-5.7.27/share/errmsg.sys'. connot create ... 启动mysql服务,直接启动不起来,没有报错信息 然后使用命令行启动mysql D:\soft\mysql-5.7.27\ 阅读全文
posted @ 2020-05-12 11:26 海绵般汲取 阅读(6410) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页