-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Hello,
Class com.github.dockerjava.api.command.InspectContainerResponse from testcontainers-1.8.1 have
import org.testcontainers.shaded.javax.annotation.CheckForNull;
and shading for com.google.code.findbugs:jsr305 (#563), but have no class at bundle. Java have no problem with it due of ignorance of annotation missing imports, but while I compile code below with Scala 2.11
import org.testcontainers.containers.MySQLContainer
object ScalaContainerInit {
def main(args: Array[String]) {
// there construct of anonymous class is required for reproduce
new MySQLContainer(s"mysql:5.7.18") { }
}
}
catch the compile warning
[WARNING] warning: Class org.testcontainers.shaded.javax.annotation.CheckForNull not found - continuing with a stub.
The Scala compiler requires that all classes referenced in signatures of classes that in use available on the compile time classpath. With -Xfatal-warnings it was a problem.
It possible to add missed lib to shaded?
Reactions are currently unavailable