testcontainers / testcontainers/testcontainers-java
[Bug]: unknown enum constant ImplementationVisibility.PACKAGE
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 8.7k
- Forks
- 1.9k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
Module
Core
Testcontainers version
tip
Using the latest Testcontainers version?
Yes
Host OS
windows
Host Arch
x86
Docker version
Docker Desktop 4.18.0 (104112) is currently the newest version available.
What happened?
Using JDK 17 on windows to compile
java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
Using Gradle version
Gradle 8.1.1
Build time: 2023-04-21 12:31:26 UTC
Revision: 1cf537a851c635c364a4214885f8b9798051175b
Kotlin: 1.8.10
Groovy: 3.0.15
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 17.0.2 (Oracle Corporation 17.0.2+8-LTS-86)
OS: Windows 10 10.0 amd64
Relevant log output
testcontainers-java\examples\cucumber>gradle test
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :testcontainers-java:buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins
> Task :testcontainers-java:testcontainers:compileJava
warning: unknown enum constant ImplementationVisibility.PACKAGE
reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
testcontainers-java\core\src\main\java\org\testcontainers\images\AgeBasedPullPolicy.java:14: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
@Value
^
warning: unknown enum constant ImplementationVisibility.PACKAGE
reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.rc\main\java\org\testco
ntainers\containers\BrowserWebDriverContainer.java uses or overrides a deprecate
See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warningsith -Xlint:deprecation for details.
<============-> 93% EXECUTING [1m 14s]
BUILD SUCCESSFUL in 6m 14sng test org.testcontainers.examples.CucumberTest
Additional Information
Maybe some issue with Lombok version used
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere die Warnung mit gradle test vom Einstiegspunkt examples/cucumber aus unter Verwendung der gemeldeten JDK- und Gradle-Versionen. Untersuche die Build-Konfiguration und den Kontext der Annotation-Verarbeitung rund um core/src/main/java/org/testcontainers/images/AgeBasedPullPolicy.java; als abgeschlossen gilt die Aufgabe, wenn der Build ohne die unbekannte ImplementationVisibility.PACKAGE-Warnung abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 32/100