NoSuchMethodError for calling HoconConfigurationLoader.Builder#setRenderOptions

So, I’m having this problem where I get a NoSuchMethodError when calling HoconConfigurationLoader.Builder#setRenderOptions. However, this does not happen when debugging in a dev environment. Is there the reason that that method doesn’t exist in production, or is there something else?

Here is the code causing the error.

What versions are you running for dev and for production?

It may be that you’re running an outdated version on one (or more) of them which causes that method to disappear. Make sure you’ve got both at the same version, ideally the latest version of whichever Sponge implementation you use.

Both of them should be pretty much up to date. The production one is one or two builds behind because the latest build failed to start for me.