agentleFS
jeecgbootjeecgboot/JeecgBoot/jeecg-boot/CLAUDE.md

JeecgBoot / jeecg-boot

CLAUDE.md48k starsChanged 14 months agoApache-2.0View on GitHub

You should always answer questions in Simplified Chinese first, unless the user explicitly requests another language. JeecgBoot 3.9.5 — a Java low-code development platform built on Spring Boot 4.1.0, Java 17 (also supports 21, 24). It runs as a monolithic app by default, with an optional Spring Cloud microservices mode. Uses jakarta namespace (not javax) throughout. Optional microservices modules (activated via -P SpringCloud): - jeecg-server-cloud/ — Gateway (port 9999), Nacos (8848/18080), cloud service starters, monitoring (9111), XXL-Job (9080), Sentinel (9000)

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 5 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the jeecgboot/JeecgBoot repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about jeecgboot/JeecgBoot

The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 22

Talked about on GitHub and Bluesky (22 times).

On GitHub · 21

16 more on GitHub

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Initial setup: Import db/jeecgboot-mysql-5.7.sql for the base schema.

    line 107

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

You should always answer questions in Simplified Chinese first, unless the user explicitly requests another language.

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

JeecgBoot 3.9.5 — a Java low-code development platform built on Spring Boot 4.1.0, Java 17 (also supports 21, 24). It runs as a monolithic app by default, with an optional Spring Cloud microservices mode. Uses jakarta namespace (not javax) throughout.

Build & Run Commands

# Full build (tests are skipped by default via surefire config)
mvn clean package

# Build with tests
mvn clean package -DskipTests=false

# Run the standalone application (port 8080, context-path: /jeecg-boot)
cd jeecg-module-system/jeecg-system-start
mvn spring-boot:run

# Build a specific module (with dependencies)
mvn clean package -pl jeecg-boot-base-core -am

# Run a single test class
mvn test -DskipTests=false -pl <module> -Dtest=<TestClassName>

# Build with microservices modules included
mvn clean package -P SpringCloud

# Docker startup
./start-docker-compose.sh   # or start-docker-compose.bat on Windows

Module Architecture

jeecg-boot-parent (root pom)
├── jeecg-boot-base-core          # Core framework: Shiro/JWT auth, MyBatis-Plus config,
│                                  # common utilities, AOP aspects, base controllers
├── jeecg-module-system            # System management (users, roles, permissions, dicts, menus)
│   ├── jeecg-system-api           # API interfaces (local-api vs cloud-api for mono/micro switch)
│   │   ├── jeecg-system-local-api # Direct method calls (monolithic)
│   │   └── jeecg-system-cloud-api # Feign clients (microservices)
│   ├── jeecg-system-biz           # Business logic, entities, mappers, services
│   └── jeecg-system-start         # Main entry point (JeecgSystemApplication), all configs
├── jeecg-boot-module              # Business feature modules
│   ├── jeecg-module-demo          # Demo/example code
│   ├── jeecg-boot-module-airag    # AI/RAG integration
│   ├── jeecg-boot-module-easyoa   # Simple OA module
│   ├── jeecg-boot-module-joa-flowable  # OA + Flowable workflow
│   ├── jeecg-boot-module-pay      # Payment module
│   └── jeecg-boot-module-wps      # WPS document integration
└── jeecg-boot-platform            # Low-code platform modules
    ├── jeecg-boot-module-bpm-flowable       # BPM workflow engine
    ├── jeecg-boot-module-airag-flow         # AI RAG flow
    ├── jeecg-boot-module-bigscreen          # Big screen/dashboard designer
    ├── jeecg-boot-module-desform            # Form designer
    ├── jeecg-boot-module-drag               # Drag-and-drop report designer
    ├── jeecg-boot-module-lowapp             # Low-code application engine
    ├── jeecg-boot-module-mindesflow-flowable # Simple flow designer
    └── jeecg-boot-module-online             # Online code generator & forms

Optional microservices modules (activated via -P SpringCloud):

  • jeecg-server-cloud/ — Gateway (port 9999), Nacos (8848/18080), cloud service starters, monitoring (9111), XXL-Job (9080), Sentinel (9000)

Key Technology Stack

LayerTechnology
ORMMyBatis-Plus 3.5.16 (BaseMapper<T>, ServiceImpl<M,T>)
AuthApache Shiro 3.0.0 + JWT 4.5.0, Redis-backed sessions
DB PoolDruid 1.2.28 with dynamic datasource support
DB MigrationFlyway (scripts in jeecg-system-start/src/main/resources/flyway/sql/mysql/)
JSONFastJSON 2
ExcelAutoPoi (autopoi-spring-boot-3-starter)
API DocsKnife4j 4.5.0 (OpenAPI v3, @Schema annotations)
Scheduled JobsQuartz (JDBC store, clustered)
File StorageMinIO / Aliyun OSS / Qiniu (controlled by jeecg.uploadType config)
MicroservicesSpring Cloud 2025.1.0.0 + Alibaba (Nacos, Gateway, Sentinel)

Code Conventions & Patterns

Package structure: org.jeecg.modules.<module-name>.{controller,entity,mapper,mapper.xml,service,service.impl,vo}

Naming conventions:

  • Entities: Sys prefix for system entities (e.g., SysUser, SysRole). Use @TableName, @TableId(type = IdType.ASSIGN_ID)
  • Controllers: <Entity>Controller extends JeecgController<Entity, IService> — base class provides standard CRUD + Excel import/export
  • Services: Interface I<Entity>Service extends IService<Entity>, impl <Entity>ServiceImpl extends ServiceImpl<Mapper, Entity>
  • Mappers: <Entity>Mapper extends BaseMapper<Entity>, with XML in mapper/xml/

Common annotations on entities: @Data, @EqualsAndHashCode(callSuper = false), @Accessors(chain = true), @TableName

API response wrapper: Result<T> (from org.jeecg.common.api.vo.Result) — use Result.OK(data), Result.OK(msg, data), Result.error(msg). The result field holds data, success/code/message hold status.

Auto query building: QueryGenerator.initQueryWrapper(entity, request.getParameterMap()) auto-builds QueryWrapper from HTTP request params, supporting fuzzy match, range queries, etc.

Monolithic ↔ Microservices switch: The jeecg-system-api module has two implementations (local-api for direct calls, cloud-api for Feign). Switching is done by changing the dependency in the startup module, not by modifying business code.

Database

Supported: MySQL 8.0+ (default), PostgreSQL, Oracle 11g+, SQL Server 2017+, MariaDB, DM8 (达梦), KingBase ES. Database-specific configs are in application-{dbtype}.yml profiles.

Initial setup: Import db/jeecgboot-mysql-5.7.sql for the base schema. Flyway handles incremental migrations (scripts organized by date folders like 202512/).

Flyway note: In dev mode, spring.main.lazy-initialization=true is enabled for startup speed, which can interfere with Flyway auto-config. Flyway auto-config is explicitly excluded and managed separately.

Configuration

Main config files are in jeecg-module-system/jeecg-system-start/src/main/resources/:

  • application.yml — profile selector (active profile set by Maven: dev/test/prod/docker)
  • application-dev.yml — development config (port 8080, lazy-init enabled)
  • Dev environment requires: MySQL, Redis. Optional: MongoDB, RabbitMQ

Key config namespace: jeecg.* in YAML controls platform features (upload type, firewall settings, AI config, MinIO, shiro excludes, etc.).

Docker Services (docker-compose.yml)

MySQL (port 13306), Redis, PostgreSQL+pgvector, MongoDB, and the application container (port 8080).

Online 低代码模块 (jeecg-boot-module-online)

Online 模块采用元数据驱动架构,通过数据库配置表(onl_cgform_*)实现运行时 CRUD,无需生成代码。配置存在数据库中而非文件系统,Claude Code 无法直接读取具体表单配置,需用户提供 JSON 导出或截图。

完整的配置 Schema、控件类型、默认值语法、增强机制等详见: online-form-schema.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.