---
url: /Discovery/Opensource/工具类库/index.md
---
## 常用类库

### 工具类

* Guava：谷歌开发的 Java 工具库（[https://github.com/google/guava）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fgoogle%2Fguava%25EF%25BC%2589)
* Apache Commons：各类工具库，比如 commons-lang、commons-io、commons-collections 等（[https://github.com/apache/commons-lang）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fcommons-lang%25EF%25BC%2589)
* Hutool：Java 工具集库（[https://github.com/looly/hutool）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Flooly%2Fhutool%25EF%25BC%2589)
* Lombok：Java 增强库（[https://github.com/projectlombok/lombok）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fprojectlombok%2Flombok%25EF%25BC%2589)
* Apache HttpComponents Client：HTTP 客户端库（[https://github.com/apache/httpcomponents-client）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fhttpcomponents-client%25EF%25BC%2589)
* OkHttp：适用于 JVM、Android 等平台的 Http 客户端（[https://github.com/square/okhttp）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fsquare%2Fokhttp%25EF%25BC%2589)
* Gson：谷歌的 JSON 处理库（[https://github.com/google/gson）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgson%25EF%25BC%2589)
* Jcommander：Java 命令行参数解析框架（[https://github.com/cbeust/jcommander）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fcbeust%2Fjcommander%25EF%25BC%2589)
* Apache PDFBox：PDF 操作库（[https://github.com/apache/pdfbox）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fpdfbox%25EF%25BC%2589)
* EasyExcel：阿里的 Excel 处理库（[https://github.com/alibaba/easyexcel）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Falibaba%2Feasyexcel%25EF%25BC%2589)
* Apache POI：表格文件处理库（[https://github.com/apache/poi）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fpoi%25EF%25BC%2589)

## 测试类

* JUnit：Java 测试框架（[https://github.com/junit-team/junit4）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fjunit-team%2Fjunit4%25EF%25BC%2589)
* Mockito：Java 单元测试 Mock 框架（[https://github.com/mockito/mockito）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fmockito%2Fmockito%25EF%25BC%2589)
* Selenium：浏览器自动化框架（[https://github.com/SeleniumHQ/selenium）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fselenium%25EF%25BC%2589)
* htmlunit：Java 模拟浏览器（[https://github.com/HtmlUnit/htmlunit）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2FHtmlUnit%2Fhtmlunit%25EF%25BC%2589)
* TestNG：Java 测试框架（[https://github.com/cbeust/testng）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fcbeust%2Ftestng%25EF%25BC%2589)
* Jacoco：Java 代码覆盖度库（[https://github.com/jacoco/jacoco）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fjacoco%2Fjacoco%25EF%25BC%2589)

### 其他

* cglib：字节码生成库（[https://github.com/cglib/cglib）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fcglib%2Fcglib%25EF%25BC%2589)
* Arthas：Java 诊断工具（[https://github.com/alibaba/arthas）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Falibaba%2Farthas%25EF%25BC%2589)
* config：针对 JVM 的配置库（[https://github.com/lightbend/config）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Flightbend%2Fconfig%25EF%25BC%2589)
* Quasar：Java 纤程库（[https://github.com/puniverse/quasar）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fpuniverse%2Fquasar%25EF%25BC%2589)
* drools：Java 规则引擎（[https://github.com/kiegroup/drools）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fkiegroup%2Fdrools%25EF%25BC%2589)
* Caffeine：Java 高性能缓存库（[https://github.com/ben-manes/caffeine）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fben-manes%2Fcaffeine%25EF%25BC%2589)
* Disruptor：高性能线程间消息传递库（[https://github.com/LMAX-Exchange/disruptor）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2FLMAX-Exchange%2Fdisruptor%25EF%25BC%2589)
* Knife4j：Swagger 文档增强（[https://doc.xiaominfo.com/）](https://gitee.com/link?target=https%3A%2F%2Fdoc.xiaominfo.com%2F%25EF%25BC%2589)
* Thumbnailator：Java 缩略图生成库（[https://github.com/coobird/thumbnailator）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fcoobird%2Fthumbnailator%25EF%25BC%2589)
* Logback：Java 日志库（[https://github.com/qos-ch/logback）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fqos-ch%2Flogback%25EF%25BC%2589)
* Apache Camel：消息传输集成框架（[https://github.com/apache/camel）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fcamel%25EF%25BC%2589)
* Quartz：定时任务调度库（[https://github.com/quartz-scheduler/quartz）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fquartz-scheduler%2Fquartz%25EF%25BC%2589)
* Apache Mahout：机器学习库（[https://github.com/apache/mahout）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fmahout%25EF%25BC%2589)
* Apache OpenNLP：NLP 工具库（[https://github.com/apache/opennlp）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fapache%2Fopennlp%25EF%25BC%2589)
* RxJava：JVM 反应式编程框架（[https://github.com/ReactiveX/RxJava）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2FReactiveX%2FRxJava%25EF%25BC%2589)
* JProfiler：性能分析库（[https://www.ej-technologies.com/products/jprofiler/overview.html）](https://gitee.com/link?target=https%3A%2F%2Fwww.ej-technologies.com%2Fproducts%2Fjprofiler%2Foverview.html%25EF%25BC%2589)
* jsoup：HTML 文档解析库（[https://jsoup.org/）](https://gitee.com/link?target=https%3A%2F%2Fjsoup.org%2F%25EF%25BC%2589)
* webmagic：Java 爬虫框架（[https://github.com/code4craft/webmagic/）](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fcode4craft%2Fwebmagic%2F%25EF%25BC%2589)
