Unable to load groovy plugin
@HuwStrafford
Hi All, I am having an issue with loading the Groovy plugin in both Gate 9.0.1 and the 9.1 Snapshot. Here is the beginning of the error
I can provide more of it if needed.
Best,
Huw |
|
Mark Greenwood
I think that will be related to the version of java you are using. If you let me know which version I can test and figure out if there is an easy work around or if we need to upgrade the groovy version to work properly, Mark On Mon, 7 Nov 2022, 16:29 , <h.a.strafford@...> wrote:
|
|
@HuwStrafford
Hi Mark, Java 19.0.1 Huw |
|
Mark Greenwood
Hi Huw, From a quick test I can confirm that it's the java version that's at issue. This is related to the stricter encapsulation of the core java modules that's now being enforced. I do have a way of opening all the modules to avoid the initial error, unfortunately it seems that the version of groovy used in the plugin still won't work with Java 19. It also seems not to work with Java 17 either. I'm not sure what the last version of Java is that it will work with, but it seems to work reliably with Java 11. It also works with an early access install of Java 14 that I still have installed on my laptop, but I don't know if that is true for the Java 14 final release. I did try simply updating the version of groovy used by the plugin but that seemed to cause other issues (I couldn't even build the plugin) so other than dropping back down to an earlier Java version I don't currently have an easy solution I'm afraid. I've opened an issue so there is somewhere we can keep a note of this (https://github.com/GateNLP/gateplugin-Groovy/issues/4) but not sure when we'll get time to have a proper look at it, sorry, Mark On 08/11/2022 13:15,
h.a.strafford@... wrote:
|
|
@HuwStrafford
Hi Mark, Thanks for looking into this. I will drop back down to am earlier version. Huw |
|