# Configuration cache state stored in /home/user/.gradle/configuration-cache is corrupt. Re-run the build with --no-configuration-cache to recover.

- **ID:** `java/gradle-configuration-cache-error`
- **Domain:** java
- **Category:** build_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The configuration cache file was corrupted due to an incomplete build or disk error.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 8+ | active | — | — |

## Workarounds

1. **Delete the configuration cache directory** (95% success)
   ```
   rm -rf ~/.gradle/configuration-cache
   ```
2. **Run the build with --no-configuration-cache to bypass the cache** (90% success)
   ```
   gradle build --no-configuration-cache
   ```

## Dead Ends

- **Manually editing the cache file** — The cache is a binary format; manual editing will likely cause further corruption. (95% fail)
- **Ignoring the error and running the build again** — Gradle will still try to use the corrupt cache unless explicitly invalidated. (80% fail)
