My mod uses a library that depends on the org.apache.commons.collections4 library. When I run Minecraft, I get the error: java.lang.NoClassDefFoundError: org/apache/commons/collections4/map/CaseInsensitiveMap
The mod works fine in IntelliJ, it only has this problem when I export it. I tried including the library the same way I added the first library, but it didn't work. I read online that this is a choice by Forge because a couple of the org.apache.commons libraries are included in Minecraft already, but not the one I need. Does anyone have a solution to this?