groovy-language-server icon indicating copy to clipboard operation
groovy-language-server copied to clipboard

Configuration Failuure

Open palontologist opened this issue 8 months ago • 3 comments

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

palontologist avatar Dec 09 '23 07:12 palontologist

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

gjvera avatar Feb 01 '24 00:02 gjvera

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

palontologist avatar Feb 01 '24 04:02 palontologist

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

alanocallaghan avatar Feb 12 '24 16:02 alanocallaghan