# RuntimeError: The application is not registered on this 'Blueprint' instance. Did you forget to call 'register_blueprint'?

- **ID:** `python/flask-app-not-registered`
- **Domain:** python
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

蓝图未在 Flask 应用中注册，导致路由无法访问。

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   在应用工厂中调用 app.register_blueprint(bp)。
   ```
2. **** (90% success)
   ```
   确保蓝图文件被正确导入并实例化。
   ```
3. **** (85% success)
   ```
   使用相对导入或绝对导入确保模块找到。
   ```

## Dead Ends

- **** — 在蓝图文件中直接使用 app 对象，但蓝图未注册。 (80% fail)
- **** — 忘记导入蓝图模块。 (70% fail)
- **** — 注册蓝图但路径错误，导致导入失败。 (60% fail)
