# JosephZhu1983/java-common-mistakes

书籍《Java 开发坑点解析：从根因分析到最佳实践》 & 极客时间专栏《Java业务开发常见错误100例》源码

Repository: https://github.com/JosephZhu1983/java-common-mistakes
Canonical: https://ross.abutalabs.com/products/java-common-mistakes
Language: Java
License Family: other
Topics: java, pitfalls, mistake, design-patterns, spring, jvm, troubleshooting, security
Last push: 2024-01-05T14:26:46+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2403, "days_push": 971, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1839, forks 725 (observed 2026-08-28T04:05:42.956919+00:00)

## What it is
Source code for the book 'Java Development Pitfalls: From Root Cause Analysis to Best Practices' and the GeekTime column '100 Common Errors in Java Business Development'. Each chapter is an independent Spring Boot or Java CLI example contrasting wrong and right implementations of common Java mistakes.

## Use cases
- learn common java concurrency and thread-safety mistakes
- understand spring transaction pitfalls
- study thread pool and connection pool misconfigurations
- learn correct database indexing practices
- avoid null pointer and equals/hashcode bugs
- learn java 8 datetime and serialization pitfalls

## When to choose
- you are a Java developer wanting to learn from real wrong-vs-right code examples
- you are reading the book or GeekTime column and want runnable companion code
- you want to study JVM, Spring, and concurrency pitfalls hands-on

## When to avoid
- you need a production-ready library to add as a dependency
- you need a license-cleared codebase for commercial reuse (no license is specified)
- you work outside the Java/Spring ecosystem

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, testing, logging, serialization, error-handling, concurrency, date-time
- domain: developer-tools, programming-languages, tutorials, backend, databases
- platform: jvm
- tags: java-pitfalls, spring-boot, book-source-code, geektime, best-practices, jvm, thread-safety, code-examples, docker, spring

## Member repositories
- JosephZhu1983/java-common-mistakes (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:42.956919+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:18:06.118539+00:00, confidence not recorded.
  - readme: https://github.com/JosephZhu1983/java-common-mistakes (fetched 2026-08-28T04:05:42.956919+00:00, sha 799aa2fc8718)
- Data as of 2026-08-30T08:39:29.467469+00:00.
