自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 Caused by: com.jcraft.jsch.JSchException: timeout: socket is not established

在springcloud中集成spring config 的时候,连接github地址出现Caused by: com.jcraft.jsch.JSchException: timeout: socket is not established解决方案:添加上username 和password

2020-05-07 17:06:00 4059 2

原创 热部署 devtools

目的:开始热部署 devtools,避免开发过程中多次重启步骤:1、修改pom.xml 文件,在dependencies加入依赖<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools --> <dependency> ...

2020-04-28 20:05:13 151

原创 Caused by: java.lang.ClassNotFoundException: Cannot find class: BIGINT

在springboot + mybatis 背景下,数据库字段 id 为bigint ,java中id为Long。问题:解决: 映射要使用 jdbcType

2020-04-28 19:19:42 1860 3

原创 SpringBoot笔记

IoC容器简介Spring IoC 容器是一个管理Bean的容器, 在Spring的定义种, 他要求所有的IoC容器都必须实现接口BeanFactory , 他是一个顶级容器管理接口。以下是源码://// Source code recreated from a .class file by IntelliJ IDEA// (powered by Fernflower decompiler...

2019-12-17 18:13:25 258

原创 start() 和 run()

以下代码调用 t.run();运行如下:public class MyUtil extends ArrayList { public static void main(String [] args) { Thread t = new Thread(){ public void run(){ pong(); } }; t.run(...

2019-05-24 16:38:49 110

原创 removeRange()坑

1、关于removeRange() 的用法public class MyUtil extends ArrayList { public static void main(String [] args){ MyUtil m = new MyUtil(); m.add("w"); m.add("x"); m.add("y"); m.add("z"); ...

2019-05-24 16:01:42 3281

原创 使用@ConfigurationProperties 提示configuration annotaton processor not found in classpath

使用@ConfigurationProperties 提示configuration annotaton processor not found in classpath解决办法:在pom中引入下面 <dependency> <groupId>org.springframework.boot</groupId> ...

2019-04-08 18:05:02 536

原创 springBoot发送邮件

springBoot发送邮件步骤坑点步骤第一步在pom.xml中导入&amp;amp;lt;dependency&amp;amp;gt; &amp;amp;lt;groupId&amp;amp;gt;org.springframework.boot&amp;amp;lt;/groupId&amp;amp;gt; &amp;amp;lt;artifactId&amp;amp;gt;spring-boot-starter-mail&am

2019-02-27 18:01:19 110

原创 SpringBoot整合Cache

1、引入依赖 &lt;dependency&gt; &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt; &lt;artifactId&gt;spring-boot-starter-cache&lt;/artifactId&gt; &lt;/dependency&gt;2、@Enabl...

2019-02-20 11:35:41 119

原创 SpringBoot设置debug=true

启动springboot项目,设置debug=true,在控制台查看springboot自动配置的服务 ============================CONDITIONS EVALUATION REPORT============================Positive matches:----------------- CodecsAutoConfigu...

2019-02-15 10:43:10 13679

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除