Problem with 7.9 jar dependency

We are developing a module which requires minimum version 20 of Despite the module has v26 jar, it keeps getting a “NoSuchMethodError” on 7.9 gateway:

at io.grpc.Metadata$Key.validateName(
at io.grpc.Metadata$Key.(
at io.grpc.Metadata$Key.(
at io.grpc.Metadata$AsciiKey.(
at io.grpc.Metadata$AsciiKey.(

Here are all the guava jar on my test server:

  • /usr/local/ignition/lib/core/common/guava-18.0.jar
  • /usr/local/ignition/data/jar-cache/xopc/__1724772503__guava-19.0.jar
  • /usr/local/ignition/data/jar-cache/logix-v21/__531933567__guava-18.0.jar
  • /usr/local/ignition/data/jar-cache/dnp3-driver/__3840122197__guava-18.0.jar
  • /usr/local/ignition/data/jar-cache/my_own_module/__2355914147__guava-26.0-jre.jar
  • /usr/local/ignition/data/jar-cache/omron-driver/__3441177098__guava-18.0.jar

After I deploy the module (built by same SDK version, only change Ignition version), the error is gone, and here are the guava jar of Ignition 8:

  • /usr/local/ignition8/lib/core/common/guava-23.3-jre.jar
  • /usr/local/ignition8/data/jar-cache/com.inductiveautomation.opcua/__1111845471__guava-26.0-jre.jar
  • /usr/local/ignition8/data/jar-cache/com.inductiveautomation.opcua.drivers.dnp3/__1109255087__guava-18.0.jar
  • /usr/local/ignition8/data/jar-cache/my_own_module/__200494045__guava-26.0-jre.jar
  • /usr/local/ignition8/data/jar-cache/com.inductiveautomation.opcua.drivers.omron/__4248771045__guava-23.3-jre.jar

Is there any way we can fix this on Ignition 7? Thanks!

I did try replacing jar and restart but it didn’t help.

The only way to fix this would be to “shade” the dependency to relocate all the guava v26 classes into a new package that your module would then use instead. But it looks like what’s breaking is GRPC, so you would have to recompile that to use the shaded guava package… probably not a path to go down.

The guava v18 JAR that is part of Ignition 7.9 sits higher on the classpath than anything you try to include in your module. You can’t really do anything about it.

Thanks a lot Kevin, at least we are not beating the dead horse anymore.