Missing required bundle and Missing required capability
- 主要言語
- Java
- スター
- 5.7k
- フォーク
- 561
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 43
説明
Hi,
I'm working on an upgrade of the spotless plugin gradle from 5.16.0 to the latest (7.0.2).
I have this error when running the `spotlessGroovyGradle` task:
```bash
Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching, org.eclipse.jdt.launching.macosx]
Missing required capability osgi.extender:osgi.extender=osgi.serviceloader.processor needed by org.apache.commons.commons-logging
Missing required capability osgi.serviceloader:osgi.serviceloader=org.apache.commons.logging.LogFactory needed by org.apache.commons.commons-logging
Missing required capability osgi.serviceloader:osgi.serviceloader=org.apache.juli.logging.Log needed by org.mortbay.jasper.apache-jsp
Missing required capability osgi.extender:osgi.extender=osgi.serviceloader.processor needed by org.mortbay.jasper.apache-jsp
Recommend setting osgi.configuration.area to a directory, getDataFile will return null
```
I have made a sample project from a fresh spring boot project, [the source code can be found here](https://github.com/nicolasb29/spotlestest) and the [error in this output](https://github.com/nicolasb29/spotlestest/actions/runs/13759762141/job/38473222042#step:5:32). I also made test on Ubuntu and MacOS and the problem is the same.
I have check there issues but it didn't work:
- #2089
- #1860
i.e.: the format.gradle file is on a separate file because in my case it's hosted on a central repository.
コントリビューションガイド
調査の方向性
サンプルプロジェクトとその分離された format.gradle ファイルから始め、Spotless を 5.16.0 から 7.0.2 にアップグレードした状態で spotlessGroovyGradle タスクを実行します。Ubuntu と macOS での GitHub Actions の出力を比較し、issue #2089 と #1860 を確認します。bundle、capability、または設定が見つからないことによるエラーなしでタスクが実行されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- groovy, java, spring-boot
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100