google / google/google-java-format

Possible issue with Eclipse plugin

Aperta
#1,428 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.2k
Fork
937
Merge medio
6m
PR unite (30g)
3

Descrizione

### Issue:
* Just bumped to `1.36.0`, I have a save action to format automatically, getting this error:
* A save participant caused problems. The save participant 'Code Clean Up' caused an exception: `java.lang.NoClassDefFoundError: Could not initialize class com.google.googlejavaformat.java.javadoc.MarkdownPositions`. See the error log for details.
* Explicit invocation of the formatter (Shift + Ctrl + F) does nothing.
* External runs via java -jar are fine.

### Environment:
* Eclipse IDE for Java Developers (includes Incubating components)
* Version: 2026-06 (4.40.0)
* Build id: 20260604-0653
* OS: Linux, v.7.1.5-arch1-2, x86_64 / gtk 3.24.52, WebKit 2.52.5
* Java vendor: Eclipse Adoptium
* Java runtime version: 21.0.11+10-LTS
* Java version: 21.0.11

Ask me anything, will try to help.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the failure through the Eclipse save participant 'Code Clean Up' and the explicit formatter shortcut, using the reported Eclipse, Java 21, and Linux environment. Compare both behaviors with the working external java -jar invocation. Done means the Eclipse plugin formats successfully without the MarkdownPositions initialization error while standalone formatting remains working.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.