自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 springboot启动报错-snakeyaml was not found on the classpath

问题:Attempted to load applicationConfig: [classpath:/application.yml] but snakeyaml was not found on the classpath解决办法:期初以往是缺少snakeyaml的依赖,就增加了依赖,仍然报错,后跟踪代码发现,springboot的依赖已经引用了snakeyaml,所以不需要声明。...

2019-03-11 14:32:54 3928 1

原创 springboot2.0.5+junit4.12+mockito+powermock单元测试静态类型出现- org.mockito.exceptions.Reporter

问题:使用springboot2.0.5+junit4.12+mockito+powermock单元测试静态类型出现- org.mockito.exceptions.Reporter解决方案:mockito版本使用springboot默认的2.15.0,此时若使用powermock-api-mockito的1.7.X都不能报错,即版本不兼容。mockito2.X版本需使用powermock...

2019-03-11 14:02:35 2363

原创 The project was not built since its build path is incomplete.

问题:The project was not built since its build path is incomplete.Cannot find the class file for org.springframework.beans.factory.support.BeanNameGenerator.Fix the build path then try building thi...

2019-03-11 09:16:14 362

原创 springboot 多工程 单元测试

工程结构如下:dev-root--dev-common(基础代码)--dev-bussiness(业务代码,controller、service、dao)--dev-ui(主要配置文件、前端)对dev-bussiness进行单元测试,出现以下错误:org.springframework.context.ApplicationContextException: Unable ...

2019-02-28 10:15:22 571

原创 hbase javaAPI客户端连接服务器存现的问题集锦

1.Call exception, tries=13, retries=13, started=100013 ms ago, cancelled=false, msg=Call to worker2.i57.com/192.168.1.34:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.chan...

2019-02-19 16:45:45 984

空空如也

空空如也

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

TA关注的人

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