会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
叶丶梓轩
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
29
下一页
2021年7月30日
java的idea设置插件下载包地址
摘要: 一,设置如下 二,地址:https://plugins.zhile.io
阅读全文
posted @ 2021-07-30 12:15 叶丶梓轩
阅读(1387)
评论(0)
推荐(1)
2021年7月27日
java的List的原理以及使用
摘要: 一,java的List的原理以及使用 1》Java的泛型是伪泛型。在编译期间,所有的泛型信息都会被擦除掉。正确理解泛型概念的首要前提是理解类型擦出(type erasure)。 2》Java中的泛型基本上都是在编译器这个层次来实现的。在生成的Java字节码中是不包含泛型中的类型信息的。使用泛型的时候
阅读全文
posted @ 2021-07-27 10:41 叶丶梓轩
阅读(657)
评论(0)
推荐(0)
2021年7月14日
SpringApplicationRunListeners与GenericApplicationListener源码解析生命周期和区别
摘要: 一,SpringApplicationRunListeners 1》SpringApplicationRunListeners负责在SpringBoot启动的不同阶段,广播出不同的消息, 传递给ApplicationListener监听器实现类。它的实例化和调用都在SpringApplication
阅读全文
posted @ 2021-07-14 18:07 叶丶梓轩
阅读(404)
评论(0)
推荐(0)
2021年7月8日
java的jdbc配置东八区的链接
摘要: 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 叶丶梓轩
阅读(446)
评论(0)
推荐(0)
2021年6月17日
Idea开发建议安装的插件
摘要: 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 叶丶梓轩
阅读(127)
评论(0)
推荐(0)
2021年6月11日
springboot之elasticsearch的接入
摘要: 一,项目结构 二,引用包 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-elasticsearch</artifactId> </dependency> <dependency> <g
阅读全文
posted @ 2021-06-11 09:36 叶丶梓轩
阅读(406)
评论(0)
推荐(0)
2021年6月10日
springboot之nacos的配置和服务发现
摘要: 一,我们需要引用的包(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 叶丶梓轩
阅读(1123)
评论(0)
推荐(0)
SpringBoot之单元测试的使用
摘要: 一,我们的结构如下 二,代码UnitTestApplication package com.nl; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Spr
阅读全文
posted @ 2021-06-10 11:22 叶丶梓轩
阅读(548)
评论(0)
推荐(0)
2021年6月9日
java的swagger跟servlet的context-path使用坑
摘要: 一,swagger配置不应该加如下配置,默认请求地址是带上context-path的前缀 .pathProvider(new RelativePathProvider(servletContext) { @Override public String getApplicationBasePath()
阅读全文
posted @ 2021-06-09 19:15 叶丶梓轩
阅读(2037)
评论(0)
推荐(0)
2021年6月2日
spring整合druid的问题Sorry, you are not permitted to view this page.
摘要: 一,在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 叶丶梓轩
阅读(6094)
评论(0)
推荐(1)
1
2
3
4
5
···
29
下一页
公告