Quickstart: mvn jetty:run has no SLF4J back end after slf4j-simple moved to test scope
I maintainer di solito rispondono entro 1 giorno
@dashorst ci sta già lavorando.
Dal 20/10/2026.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- backend, build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
#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.
- Lingua principale
- Java
- Stelle
- 797
- Fork
- 416
- Merge medio
- 1g 8h
- PR unite (30g)
- 43
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/wicket
-
COOP and COEP exemptions compare with the context path, so page exemptions never matchForse già presa @VelpulaGangavardhan l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
apache/wicket#1661 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
The CSP report-uri is lost in development mode because strict() clears itForse già presa @VelpulaGangavardhan l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/wicket#1660 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/wicket#1567 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
WebSocket: Request wrappers break the Servlet header contract (case-sensitive lookup, single-use enumerations)Forse già presa @reiern70 l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
apache/wicket#1688 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/wicket
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
QuiltMC/update-quilt-meta#28 ·
-
area/kotlin
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Large page[number] overflows the computed offset and returns the wrong pageForse già presa @auraseb l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno