Skip to content

Commit 7803ec2

Browse files
refactoring
1 parent 55c196c commit 7803ec2

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

README.ja.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111

1212
🇬🇧 英語版のREADMEは[こちら](README.md)
1313

14+
## 📋 必要要件
15+
- JDK 21(Gradleのツールチェーンで自動的にダウンロード)
16+
- Docker Desktop
17+
- Gradle 8.5以上(gradlewを使用する場合は不要)
18+
19+
> 💡 このプロジェクトはJDK 21を使用しますが、Gradleのツールチェーン機能により、ローカル環境にJDK 21がインストールされていなくても自動的に必要なJDKがダウンロードされます。
20+
1421
## 🔍 概要
1522

1623
このリポジトリは**Spring Boot 3****Spring Batch 5**に特化した、エンタープライズ向けバッチ処理アプリケーションの基盤となるスターターキットです。業界のベストプラクティスを取り入れ、最新のSpringフレームワーク機能を活用してバッチ開発プロセスを加速します。
@@ -49,6 +56,23 @@
4956
- CI/CD統合: GitHub Actionsワークフロー搭載
5057
- シンプルなビルドプロセス: 本番対応JARを生成するシングルコマンドビルド
5158

59+
## 📌 バージョン情報
60+
- Spring Boot: 3.4.1
61+
- Spring Dependency Management: 1.1.7
62+
- Spotless (Google Java Format): 6.22.0
63+
- jOOQ: 9.0
64+
- OpenCSV: 5.9
65+
- SpotBugs: 6.0.27
66+
67+
### 使用プラグイン
68+
- spring-boot
69+
- spring-dependency-management
70+
- spotless
71+
- jooq
72+
- jacoco
73+
- spotbugs
74+
- project-report
75+
5276
---
5377

5478
## 📁 プロジェクト構造
@@ -115,6 +139,17 @@ java -jar build/libs/dbAndCsvBatch-*.jar --spring.batch.job.name=CSV_TO_DB --spr
115139

116140
> **注意**: データベースセットアップにはDockerのインストールが必要です。
117141
142+
## 🔧 トラブルシューティング
143+
### よくある問題
144+
145+
#### 1. Entityクラスが見つからない
146+
- 原因: jOOQによる自動生成が未実行
147+
- 解決: ./gradlew buildを実行
148+
149+
#### 2. データベース接続エラー
150+
- 原因: MySQLコンテナが未起動
151+
- 解決: docker compose up -dを実行
152+
118153
## ♻️ カスタマイズ性
119154
このスターターキットは簡単なカスタマイズを想定して設計されています。データベース設定とCSVマッピングを特定の要件に合わせて変更するだけで、すぐにビジネスデータの処理を開始できます。
120155

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
## 🌐 Language Support
1212
🇯🇵 日本語版 README は [こちら](README.ja.md).
1313

14+
## 📋 Requirements
15+
- JDK 21 (automatically downloaded by Gradle toolchain)
16+
- Docker Desktop
17+
- Gradle 8.5+ (not required if using gradlew)
18+
19+
> 💡 This project uses JDK 21, but thanks to Gradle's toolchain feature, it will be automatically downloaded even if not installed locally.
20+
1421
## 🔍 Overview
1522

1623
This comprehensive starter kit is designed specifically for **Spring Boot 3** and **Spring Batch 5**, offering a production-ready foundation for enterprise batch processing applications. It incorporates industry best practices and leverages the latest Spring framework features to accelerate your batch development process.
@@ -49,6 +56,23 @@ This comprehensive starter kit is designed specifically for **Spring Boot 3** an
4956
- **CI/CD Integration**: GitHub Actions workflows included
5057
- **Simplified Build Process**: Single-command builds generating production-ready JARs
5158

59+
## 📌 Version Information
60+
- Spring Boot: 3.4.1
61+
- Spring Dependency Management: 1.1.7
62+
- Spotless (Google Java Format): 6.22.0
63+
- jOOQ: 9.0
64+
- OpenCSV: 5.9
65+
- SpotBugs: 6.0.27
66+
67+
### Plugins
68+
- spring-boot
69+
- spring-dependency-management
70+
- spotless
71+
- jooq
72+
- jacoco
73+
- spotbugs
74+
- project-report
75+
5276
---
5377

5478
## 📁 Project Structure
@@ -115,6 +139,17 @@ java -jar build/libs/dbAndCsvBatch-*.jar --spring.batch.job.name=CSV_TO_DB --spr
115139

116140
> **Note**: Docker installation is required for database setup.
117141
142+
## 🔧 Troubleshooting
143+
144+
### Common Issues
145+
#### 1. Entity classes not found
146+
- Cause: jOOQ auto-generation not executed
147+
- Solution: Run `./gradlew build`
148+
149+
#### 2. Database connection error
150+
- Cause: MySQL container not running
151+
- Solution: Run `docker compose up -d`
152+
118153
## ♻️ Adaptability
119154
The starter kit is designed for easy customization. Simply modify the database configurations and CSV mappings to align with your specific requirements, and you're ready to start processing your business data.
120155

0 commit comments

Comments
 (0)