横云断岭的专栏

  • 首页

  • 归档

  • 标签

  • 分类

  • 关于

  • 搜索

从java9共享内存加载modules说起

发表于 2018-02-23 | 更新于 2020-03-02 | 分类于 技术

jdk9后加载lib/modules的方式从jdk的代码里可以看出来,默认的实现加载lib/modules是用mmap来加载的。 class NativeImageBuffer { static { java.security.AccessController ...

阅读全文 »

2017读书总结

发表于 2017-12-26 | 更新于 2020-03-02 | 分类于 读书

文科类古董局中局 4https://book.douban.com/subject/26650970/ 马伯庸作品,这一系列都很好看,最后一集略不足,有点圆不上的感觉。深夜看有点吓人。 解读中国经济https://book.douban.com/subject/11626951/ 林毅夫的作品,了解 ...

阅读全文 »

深入Spring Boot:排查@Transactional引起的NullPointerException

发表于 2017-12-14 | 更新于 2020-03-02 | 分类于 技术

写在前面这个demo来说明怎么排查一个@Transactional引起的NullPointerException。 https://github.com/hengyunabc/spring-boot-inside/tree/master/demo-Transactional-NullPointerE ...

阅读全文 »

深入Spring Boot:排查 Cannot determine embedded database driver class for database type NONE

发表于 2017-12-09 | 更新于 2020-03-02 | 分类于 技术

写在前面这个demo来说明怎么一步步排查一个常见的spring boot AutoConfiguration的错误。 https://github.com/hengyunabc/spring-boot-inside/tree/master/demo-database-type-NONE 调试排查 C ...

阅读全文 »

深入Spring Boot:排查expected single matching bean but found 2的异常

发表于 2017-12-09 | 更新于 2020-03-02 | 分类于 技术

写在前面这个demo来说明怎么排查一个常见的spring expected single matching bean but found 2的异常。 https://github.com/hengyunabc/spring-boot-inside/tree/master/demo-expected- ...

阅读全文 »

深入Spring Boot:Spring Context的继承关系和影响

发表于 2017-08-19 | 更新于 2020-03-02 | 分类于 技术

前言对于一个简单的Spring boot应用,它的spring context是只会有一个。 非web spring boot应用,context是AnnotationConfigApplicationContext web spring boot应用,context是AnnotationConf ...

阅读全文 »

深入Spring Boot:ClassLoader的继承关系和影响

发表于 2017-08-19 | 更新于 2020-03-02 | 分类于 技术

前言对spring boot本身启动原理的分析,请参考:http://hengyunabc.github.io/spring-boot-application-start-analysis/ Spring boot里的ClassLoader继承关系可以运行下面提供的demo,分别在不同的场景下运行, ...

阅读全文 »

深入Spring Boot:那些注入不了的Spring占位符(${}表达式)

发表于 2017-07-18 | 更新于 2020-03-02 | 分类于 技术

Spring里的占位符spring里的占位符通常表现的形式是: <bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property na ...

阅读全文 »

深入JVM分析spring-boot应用hibernate-validator NoClassDefFoundError

发表于 2017-05-19 | 更新于 2020-03-02 | 分类于 技术

问题 可重现的Demo代码:https://github.com/hengyunabc/spring-boot-inside/tree/master/demo-hibernate-validator-NoClassDefFoundError 最近排查一个spring boot应用抛出hiberna ...

阅读全文 »

正确实现用spring扫描自定义的annotation

发表于 2016-05-01 | 更新于 2020-03-02 | 分类于 技术

背景在使用spring时,有时候有会有一些自定义annotation的需求,比如一些Listener的回调函数。 比如: @Servicepublic class MyService { @MyListener public void onMessage(Message msg ...

阅读全文 »
1…345…9

横云断岭/hengyunabc

日落黄金台金黄落日

89 日志
4 分类
108 标签
RSS
GitHub
© 2020 横云断岭/hengyunabc
由 Hexo 强力驱动 v3.9.0
|
主题 – NexT.Gemini v6.7.0