摘要: 一,设置如下 二,地址:https://plugins.zhile.io 阅读全文
posted @ 2021-07-30 12:15 叶丶梓轩 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: 一,java的List的原理以及使用 1》Java的泛型是伪泛型。在编译期间,所有的泛型信息都会被擦除掉。正确理解泛型概念的首要前提是理解类型擦出(type erasure)。 2》Java中的泛型基本上都是在编译器这个层次来实现的。在生成的Java字节码中是不包含泛型中的类型信息的。使用泛型的时候 阅读全文
posted @ 2021-07-27 10:41 叶丶梓轩 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 一,SpringApplicationRunListeners 1》SpringApplicationRunListeners负责在SpringBoot启动的不同阶段,广播出不同的消息, 传递给ApplicationListener监听器实现类。它的实例化和调用都在SpringApplication 阅读全文
posted @ 2021-07-14 18:07 叶丶梓轩 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1,链接如下 jdbc:mysql://120.0.0.1:3306/test?useSSL=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&allowMultiQueries=true&useTimezone=true&se 阅读全文
posted @ 2021-07-08 12:27 叶丶梓轩 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 1,Free MyBatis plugin 2,Lombok 3,Alibaba Java Coding Guidelines 4,JRebel (热编译插件):激活博客教程,获取激活码地址:https://jrebel.qekang.com/ 5,JProfiler性能分析神器 官方下载安装: h 阅读全文
posted @ 2021-06-17 20:05 叶丶梓轩 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 一,项目结构 二,引用包 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-elasticsearch</artifactId> </dependency> <dependency> <g 阅读全文
posted @ 2021-06-11 09:36 叶丶梓轩 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 一,我们需要引用的包(nacos需对应springboot的2.3.6.RELEASE这个版本) <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-conf 阅读全文
posted @ 2021-06-10 17:42 叶丶梓轩 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: 一,我们的结构如下 二,代码UnitTestApplication package com.nl; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Spr 阅读全文
posted @ 2021-06-10 11:22 叶丶梓轩 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 一,swagger配置不应该加如下配置,默认请求地址是带上context-path的前缀 .pathProvider(new RelativePathProvider(servletContext) { @Override public String getApplicationBasePath() 阅读全文
posted @ 2021-06-09 19:15 叶丶梓轩 阅读(1823) 评论(0) 推荐(0) 编辑
摘要: 一,在1.1.22版本druid使用提示如下异常 Sorry, you are not permitted to view this page. application.yam配置应该修改为如下: druid: #配置druid访问的账号密码 stat-view-servlet: enabled: 阅读全文
posted @ 2021-06-02 12:26 叶丶梓轩 阅读(4744) 评论(0) 推荐(1) 编辑