logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

spring boot 与mybatis整合,type-aliases-package、type-handlers-package等配置不起作用,导致类加载失败

spring boot 与mybatis整合,type-aliases-package、type-handlers-package等配置不起作用,导致类加载失败刚刚接触spring boot,项目中整合了mybatis,但配置没用mybatis-spring-boot-autoconfigure自动配置,导致mybatis的配置:mybatis.type-aliases-p

使用 Cobertura 和反射机制提高 Java 单元测试中的代码覆盖率

使用 Cobertura 和反射机制提高 Java 单元测试中的代码覆盖率本文将介绍两种开发实践,用于提高 Java 单元测试中的代码覆盖率。代码覆盖率 = (被测代码 / 代码总数)* 100%。提高被测代码数量或降低代码总数,均可达到提高代码覆盖率的效果。在本文中,您将看到如何通过使用反射机制,在外部直接对目标类中的不可访问成员进行测试,以提高被测代码数量;以及通过修改 Cober

IntelliJ IDEA 可视化调试java8 新增的stream操作

         java8的steam操作,一般情况下出问题,不像以前写的代码一样,单步跟踪调试根本不管用的,现在IntelliJ IDEA提供了一种可视化的调试技巧。      示例代码:package com.sdcuike;import java.util.Arrays;/*** Hello world!*/public class App {publ...

Kafka+Storm+HDFS整合实践

在基于Hadoop平台的很多应用场景中,我们需要对数据进行离线和实时分析,离线分析可以很容易地借助于Hive来实现统计分析,但是对于实时的需求Hive就不合适了。实时应用场景可以使用Storm,它是一个实时处理系统,它为实时处理类应用提供了一个计算模型,可以很容易地进行编程处理。为了统一离线和实时计算,一般情况下,我们都希望将离线和实时计算的数据源的集合统一起来作为输入,然后将数据的流向分别经由实

#集群#kafka
Fedora 20升级内核后VirtualBox不能正常使用的问题

最近因为需要安装了VirtualBox来虚拟xp环境,本来用着好好的,但是最近升级内核后,重启机器再次运行VirtualBox,发现不能正常使用了,启动虚拟机会提示如下内容:Kernel driver not installed (rc=-1908)    TheVirtualBoxLinux kernel driver (vboxdrv)is probably not loaded.    

Best practices for the logging REST API

Best practices for the logging REST APIIn a large-scale distributed environment, the log data may be the only informationthat is available to the developer for debugging issues. Auditing and log

Google首席工程师Joshua Bloch谈如何设计优秀的API

Google首席工程师Joshua Bloch谈如何设计优秀的APIHow to Design a Good API and Why it MattersWhy is API Design Important?APIs can be among a company's greatest assets_ Customers invest

GC、(三) GC Algorithms: Basics

GC Algorithms: BasicsBefore diving into the practical implementation details of Garbage Collection algorithms it will be beneficial to define the required terminology and to understand the basic pri

到底了