- 博客(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
4140
原创 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
2457
原创 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
390
原创 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
614
原创 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
1033
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人