One of our plugin uses internal version com.google.common.collect [instead of the open source version ie., guava], and this plugin is not compatible with guava-r09.jar
During execution I am getting exceptions like: java.lang.NoSuchMethodError: com.google.common.collect.Maps.immutableMap() - because intellij/jvm is using guava-r09.jar releted classes.
Is there a way to remove lib/guava-r09.jar from the classpath of my plugin during execution?
I tried removing lib/guava-r09.jar and replacing it with our internal com.google.common.collect version - that seems to fix the plugin related issues. But, my concern is that this might break some of the intellij's functionality which is based on guava-r09.jar. So,for me this is not an acceptable solution.