Skip to content

Instantly share code, notes, and snippets.

@suztomo
Created November 3, 2020 16:59
Show Gist options
  • Save suztomo/08b56722ced2deb805afa3fdfffd5989 to your computer and use it in GitHub Desktop.
Save suztomo/08b56722ced2deb805afa3fdfffd5989 to your computer and use it in GitHub Desktop.
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-linkage-checker) @ google-cloud-spanner-jdbc ---
[ERROR] Linkage Checker rule found 61 errors:
Class com.jcraft.jzlib.JZlib is not found;
referenced by 4 class files
io.grpc.netty.shaded.io.netty.handler.codec.spdy.SpdyHeaderBlockJZlibEncoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.ZlibUtil (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibDecoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.jcraft.jzlib.Deflater is not found;
referenced by 3 class files
io.grpc.netty.shaded.io.netty.handler.codec.spdy.SpdyHeaderBlockJZlibEncoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.ZlibUtil (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.bouncycastle.asn1.x500.X500Name is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.bouncycastle.cert.jcajce.JcaX509v3CertificateBuilder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.bouncycastle.operator.jcajce.JcaContentSignerBuilder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.bouncycastle.cert.X509v3CertificateBuilder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.bouncycastle.cert.jcajce.JcaX509CertificateConverter is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.bouncycastle.jce.provider.BouncyCastleProvider is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.eclipse.jetty.alpn.ALPN$ClientProvider is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.JettyAlpnSslEngine (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.eclipse.jetty.alpn.ALPN is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.JettyAlpnSslEngine (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.eclipse.jetty.npn.NextProtoNego$ServerProvider is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.JettyNpnSslEngine (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.eclipse.jetty.alpn.ALPN$ServerProvider is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.JettyAlpnSslEngine (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.eclipse.jetty.npn.NextProtoNego is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.JettyNpnSslEngine (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.eclipse.jetty.npn.NextProtoNego$ClientProvider is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.ssl.JettyNpnSslEngine (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.jboss.marshalling.Marshaller is not found;
referenced by 3 class files
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ThreadLocalMarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.MarshallingEncoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.CompatibleMarshallingEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.jboss.marshalling.MarshallerFactory is not found;
referenced by 4 class files
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ThreadLocalMarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ThreadLocalUnmarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.DefaultUnmarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.DefaultMarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.jboss.marshalling.Unmarshaller is not found;
referenced by 4 class files
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ContextBoundUnmarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.MarshallingDecoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ThreadLocalUnmarshallerProvider (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.CompatibleMarshallingDecoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.lzf.util.ChunkDecoderFactory is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfDecoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.lzf.ChunkDecoder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfDecoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.BufferRecycler is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfDecoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.google.protobuf.nano.MessageNano is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.handler.codec.protobuf.ProtobufDecoderNano (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.protobuf.ProtobufEncoderNano (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.jcraft.jzlib.JZlib$WrapperType is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.ZlibUtil (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.jcraft.jzlib.Inflater is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.handler.codec.compression.ZlibUtil (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibDecoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class net.jpountz.lz4.LZ4Factory is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4FrameDecoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4FrameEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class net.jpountz.lz4.LZ4Exception is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4FrameDecoder (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4FrameEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class net.jpountz.lz4.LZ4FastDecompressor is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4FrameDecoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class lzma.sdk.lzma.Encoder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzmaFrameEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class net.jpountz.lz4.LZ4Compressor is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4FrameEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.google.protobuf.nano.CodedOutputByteBufferNano is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.protobuf.ProtobufEncoderNano (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.jboss.marshalling.ByteInput is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.LimitingByteInput (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ChannelBufferByteInput (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.jboss.marshalling.ByteOutput is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.marshalling.ChannelBufferByteOutput (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.lzf.util.ChunkEncoderFactory is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.lzf.ChunkEncoder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.lzf.LZFEncoder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class com.ning.compress.lzf.LZFChunk is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.LzfEncoder (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class net.jpountz.xxhash.XXHash32 is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4XXHash32 (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class net.jpountz.xxhash.XXHashFactory is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.handler.codec.compression.Lz4XXHash32 (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.log4j.Logger is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4JLogger (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4JLoggerFactory (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.log4j.Level is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4JLogger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.slf4j.Logger is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Slf4JLogger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.logging.log4j.LogManager is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2LoggerFactory (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.logging.log4j.spi.ExtendedLoggerWrapper is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2Logger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.logging.log4j.spi.ExtendedLogger is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2Logger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.logging.log4j.Logger is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2Logger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.logging.log4j.Level is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2Logger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.slf4j.spi.LocationAwareLogger is not found;
referenced by 2 class files
io.grpc.netty.shaded.io.netty.util.internal.logging.LocationAwareSlf4JLogger (io.grpc:grpc-netty-shaded:1.33.0)
io.grpc.netty.shaded.io.netty.util.internal.logging.Slf4JLoggerFactory (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.slf4j.helpers.FormattingTuple is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.LocationAwareSlf4JLogger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.slf4j.helpers.MessageFormatter is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.LocationAwareSlf4JLogger (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.slf4j.LoggerFactory is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Slf4JLoggerFactory (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.slf4j.helpers.NOPLoggerFactory is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.logging.Slf4JLoggerFactory (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class reactor.blockhound.integration.BlockHoundIntegration is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.Hidden (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class reactor.blockhound.BlockHound$Builder is not found;
referenced by 1 class file
io.grpc.netty.shaded.io.netty.util.internal.Hidden (io.grpc:grpc-netty-shaded:1.33.0)
Cause:
Unknown
Class org.apache.avalon.framework.logger.Logger is not found;
referenced by 1 class file
org.apache.commons.logging.impl.AvalonLogger (commons-logging:commons-logging:1.2)
Cause:
The valid symbol is in avalon-framework:avalon-framework:jar:4.1.5 at com.google.cloud:google-cloud-spanner-jdbc:jar:1.17.3-SNAPSHOT / com.google.cloud:google-cloud-spanner:2.0.2 (compile) / commons-logging:commons-logging:1.2 (compile) / avalon-framework:avalon-framework:4.1.5 (compile, optional) but it was not selected because com.google.cloud:google-cloud-spanner:2.0.2 excludes avalon-framework:avalon-framework.
Class org.apache.log.Hierarchy is not found;
referenced by 1 class file
org.apache.commons.logging.impl.LogKitLogger (commons-logging:commons-logging:1.2)
Cause:
The valid symbol is in logkit:logkit:jar:1.0.1 at com.google.cloud:google-cloud-spanner-jdbc:jar:1.17.3-SNAPSHOT / com.google.cloud:google-cloud-spanner:2.0.2 (compile) / commons-logging:commons-logging:1.2 (compile) / logkit:logkit:1.0.1 (compile, optional) but it was not selected because com.google.cloud:google-cloud-spanner:2.0.2 excludes logkit:logkit.
Class org.apache.log.Logger is not found;
referenced by 1 class file
org.apache.commons.logging.impl.LogKitLogger (commons-logging:commons-logging:1.2)
Cause:
The valid symbol is in logkit:logkit:jar:1.0.1 at com.google.cloud:google-cloud-spanner-jdbc:jar:1.17.3-SNAPSHOT / com.google.cloud:google-cloud-spanner:2.0.2 (compile) / commons-logging:commons-logging:1.2 (compile) / logkit:logkit:1.0.1 (compile, optional) but it was not selected because com.google.cloud:google-cloud-spanner:2.0.2 excludes logkit:logkit.
java.nio.ByteBuffer's method position(int) is expected to return java.nio.ByteBuffer but instead returns java.nio.Buffer;
referenced by 8 class files
com.google.protobuf.AllocatedBuffer (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.BinaryWriter (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.ByteBufferWriter (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.CodedInputStream (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.CodedOutputStream (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.IterableByteBufferInputStream (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.NioByteString (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.Utf8 (com.google.protobuf:protobuf-java:3.13.0)
Cause:
Unknown
java.nio.ByteBuffer's method limit(int) is expected to return java.nio.ByteBuffer but instead returns java.nio.Buffer;
referenced by 3 class files
com.google.protobuf.BinaryWriter (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.CodedInputStream (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.NioByteString (com.google.protobuf:protobuf-java:3.13.0)
Cause:
Unknown
java.nio.ByteBuffer's method clear() is expected to return java.nio.ByteBuffer but instead returns java.nio.Buffer;
referenced by 2 class files
com.google.protobuf.CodedOutputStream (com.google.protobuf:protobuf-java:3.13.0)
com.google.protobuf.Internal (com.google.protobuf:protobuf-java:3.13.0)
Cause:
Unknown
java.nio.ByteBuffer's method mark() is expected to return java.nio.ByteBuffer but instead returns java.nio.Buffer;
referenced by 1 class file
com.google.protobuf.NioByteString (com.google.protobuf:protobuf-java:3.13.0)
Cause:
Unknown
java.nio.ByteBuffer's method reset() is expected to return java.nio.ByteBuffer but instead returns java.nio.Buffer;
referenced by 1 class file
com.google.protobuf.NioByteString (com.google.protobuf:protobuf-java:3.13.0)
Cause:
Unknown
java.nio.CharBuffer's method flip() is expected to return java.nio.CharBuffer but instead returns java.nio.Buffer;
referenced by 1 class file
com.google.protobuf.TextFormat (com.google.protobuf:protobuf-java:3.13.0)
Cause:
Unknown
Problematic artifacts in the dependency tree:
io.grpc:grpc-netty-shaded:1.33.0 is at:
com.google.cloud:google-cloud-spanner-jdbc:jar:1.17.3-SNAPSHOT / io.grpc:grpc-netty-shaded:1.33.0 (compile)
commons-logging:commons-logging:1.2 is at:
com.google.cloud:google-cloud-spanner-jdbc:jar:1.17.3-SNAPSHOT / com.google.cloud:google-cloud-spanner:2.0.2 (compile) / commons-logging:commons-logging:1.2 (compile)
com.google.protobuf:protobuf-java:3.13.0 is at:
com.google.cloud:google-cloud-spanner-jdbc:jar:1.17.3-SNAPSHOT / com.google.protobuf:protobuf-java:3.13.0 (compile)
[INFO] For the details of the linkage errors, see https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/Linkage-Checker-Messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment