-
Notifications
You must be signed in to change notification settings - Fork 75
Linkage Checker Messages
This message indicates that the class XXX is not found in the class path while some classes have references to the class.
Example message:
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.28.1)
io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibEncoder (io.grpc:grpc-netty-shaded:1.28.1)
io.grpc.netty.shaded.io.netty.handler.codec.compression.ZlibUtil (io.grpc:grpc-netty-shaded:1.28.1)
io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibDecoder (io.grpc:grpc-netty-shaded:1.28.1)
The diagram below illustrates the invalid references marked as red.
At runtime, the invalid references may cause NoClassDefFoundError
.
This message indicates that the class XXX in <artifact>
does not have the field YYY , while some classes have references to the field.
Example message:
(io.grpc:grpc-core:1.29.0) io.grpc.internal.GrpcAttributes's field ATTR_LB_ADDRS is not found;
referenced by 1 class file
io.grpc.grpclb.GrpclbConstants (io.grpc:grpc-grpclb:1.28.1)
The diagram below illustrates the invalid references from the io.grpc.grpclb.GrpclbConstants
to the missing field.
At runtime, the invalid references may cause NoSuchFieldError
.
This error is the same as the previous section of the missing fields but for missing methods.
At runtime, the invalid references may cause NoSuchMethodError
.