GroovyLanguageServer / groovy-language-server

A language server for Groovy — designed for Moonshine IDE, but may be useful in other environments
https://moonshine-ide.com/
Apache License 2.0
185 stars 61 forks source link

Configuration Failuure #82

Closed palontologist closed 5 months ago

palontologist commented 12 months ago

A problem occurred configuring root project 'groovy-language-server'. Could not open cp_proj generic class cache for build file '/home/givenchy/Downloads/groovy-language-server/build.gradle' (/home/givenchy/.gradle/caches/7.6.1/scripts/9px8z4wtfzdo1vmdjyibq74l4).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65 Unsupported class file major version 65

gjvera commented 10 months ago

You have to downgrade the version of java you're using. I dropped my version to 17 from 21 and it worked.

palontologist commented 10 months ago

Thanks it also solved the issue for me.

On Thu, 1 Feb 2024, 3:45 am Gabriel Vera, @.***> wrote:

You have to downgrade the version of java you're using. I dropped my version to 17 from 21 and it worked.

— Reply to this email directly, view it on GitHub https://github.com/GroovyLanguageServer/groovy-language-server/issues/82#issuecomment-1920263604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX6XME24EZQ6PYTJ35XRSMLYRLQRRAVCNFSM6AAAAABANTMPSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGI3DGNRQGQ . You are receiving this because you authored the thread.Message ID: @.*** com>

--

As members of the Kabarak University family, we purpose at all times and in all places, to set apart in one’s heart, Jesus as Lord. (1 Peter 3:15)

DISCLAIMER:- The contents and opinions expressed in any email sent from Kabarak University are solely those of the author and do not necessarily represent those of Kabarak University. Kabarak University disclaims any liability to the fullest extent permissible by law for any consequences that may arise from the contents of any email sent from its systems including but not limited to personal opinions, malicious and/or defamatory information and data/codes that may compromise or damage the integrity of the recipient’s information technology systems

alanocallaghan commented 9 months ago

Any chance this can be revisited? If I bump the groovy version and Java version, it supports Java 21 just fine.

eg https://github.com/GroovyLanguageServer/groovy-language-server/compare/master...alanocallaghan:groovy-language-server:master