Quickstart: mvn jetty:run has no SLF4J back end after slf4j-simple moved to test scope
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- java
- 領域
- backend, build-system
調査の方向性
Inspect the generated quickstart pom and its jetty-ee11-maven-plugin configuration, along with the SLF4J dependency comment. Set useTestScope so mvn jetty:run can use the test-scoped backend, clarify the comment about logging for Start, tests, and deployed WARs, then verify console logging and WAR contents. The issue also calls for the fix on wicket-10.x alongside #1684; pull request #1691 is already open.
索引モデルが issue の本文から書いたものです。
説明
#1684 (GitHub issue #1678) gave slf4j-simple test scope in the quickstart archetype. That keeps the back end out of the WAR, but mvn jetty:run no longer logs.
The jetty-ee11-maven-plugin in the generated pom does not set useTestScope, which defaults to false, so test-scoped dependencies stay off the webapp classpath. The plugin itself brings only slf4j-api. Running mvn jetty:run on a freshly generated quickstart now prints
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
and all of Wicket's log output, including exceptions logged by the request cycle, is dropped. Before #1684 it appeared on the console.
Setting <useTestScope>true</useTestScope> in the plugin configuration brings slf4j-simple back for jetty:run, while the WAR still contains no back end.
The comment above the dependency, <!-- LOGGING DEPENDENCIES - SLF4J-SIMPLE -->, still presents slf4j-simple as the project's logging setup. It should say that it only serves Start, jetty:run and the tests, and that a WAR deployed to a container without an SLF4J back end of its own (Tomcat, a standalone Jetty) needs one added.
The fix also goes to wicket-10.x together with #1684, which has not been cherry-picked there yet.
- 主要言語
- Java
- スター
- 797
- フォーク
- 416
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 43
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/wicket のほかの issue
-
COOP and COEP exemptions compare with the context path, so page exemptions never match対応中かも @VelpulaGangavardhan が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
apache/wicket#1661 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
The CSP report-uri is lost in development mode because strict() clears it対応中かも @VelpulaGangavardhan が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/wicket#1660 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/wicket#1567 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
WebSocket: Request wrappers break the Servlet header contract (case-sensitive lookup, single-use enumerations)対応中かも @reiern70 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
apache/wicket#1688 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
QuiltMC/update-quilt-meta#28 ·
-
awaiting triage Documentation P3
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
area/build area/maintainability component/camunda-process-test kind/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Kafka: Filter empty strings and whitespace in IcebergSinkConfig stringToList対応中かも @mohamed-elbrik が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area/kotlin
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信