I am developing an Ignition module that uses the Apache Commons IO library, specifically v2.0+ of the library. Most of the functionality I need works fine, but I am getting the following error regularly:
This particular overload of IOUtils.closeQuietly is only present in v2.0+ of the Commons IO library. After some debugging I found that the Ignition SDK uses a pre-2.0 version of the library, located in ignition-commons.jar. Having multiple versions of the library, and being unable to point my module code to the v2.0+ version, appears to be the source of my problems.
I’ve tried unpacking the commons-io-2.0.1.jar and re-packaging it along with my code in my module jar file, and I still get the same error.
If anyone has a suggestion on how to get this how to work I’d love to hear it.