title: How to change Eclipse-Groovy plugin Groovy libraries?
body: <p>I am using the newest version (2.8.0) of the <a href="https://github.com/groovy/groovy-eclipse" rel="nofollow noreferrer">Eclipse-Groovy</a> plugin that ships with <code>groovy-all-2.1.5.jar</code>. I added Guice to my Groovy project, and when I go to run them from inside Eclipse I get the following error in the console output:</p>
  
  <pre><code>Caught: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
  java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
      at net.me.myapp.utils.restclient.RestClient.&lt;init&gt;(RestClient.groovy:57)
      at net.me.myapp.inject.UserServiceClientModule.configure(UserServiceClientModule.groovy:34)
      at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
      at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
      at com.google.inject.spi.Elements.getElements(Elements.java:101)
      at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
      at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
      at com.google.inject.Guice.createInjector(Guice.java:95)
      at com.google.inject.Guice.createInjector(Guice.java:72)
      at com.google.inject.Guice.createInjector(Guice.java:62)
      at net.me.myapp.UserServiceClient.&lt;init&gt;(UserServiceClient.groovy:37)
      at net.me.myapp.UserServiceClient.main(UserServiceClient.groovy:45)
  Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling
      ... 12 more
  </code></pre>
  
  <p>According to <a href="https://stackoverflow.com/a/23860786/4009451">this answer</a> it's because <code>ShortTypeHandling</code> wasn't added until 2.3.x. So I would now like to attach <code>groovy-all-2.3.3.jar</code> to my Eclipse project's classpath.</p>
  
  <p>The problem is that I don't seem to have edit permissions to change what library the <code>Groovy Libraries</code> library uses under the hood. And when I manually add the 2.3.3 JAR to my build path, I get the following error:</p>
  
  <pre><code>Caught: java.lang.ExceptionInInitializerError
  java.lang.ExceptionInInitializerError
  Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.1.5 and you are trying to load version 2.3.3
  </code></pre>
  
  <p>What are my options?</p>