Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Project erroring("The supplied phased action failed with an exception.")
Project erroring [message #1856790] Tue, 03 January 2023 04:40 Go to next message
William Martin is currently offline William MartinFriend
Messages: 1
Registered: January 2023
Junior Member
While trying to set up an eclipse environment for minecraft modding, I encountered this error and am unable to find the solution. I am not very savvy with gradle or eclipse and some help would be appreciated.

Error:
The supplied phased action failed with an exception.
Could not open cp_init generic class cache for initialization script 'C:\Users\user\Documents\GitHub\Unifye\Minecraft\selectiveHardcoreWorkspace\.metadata\.plugins\org.eclipse.buildship.core\init.d\eclipsePlugin.gradle' (C:\Users\user\.gradle\caches\7.5.1\scripts\7fciaz2tzo3lxxw75zggl661a).
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

I was following a youtube tutorial and couldn't follow along anymore because of the error. I can't seem to build with gradle like he does and have no options when I right click the gradle build.
Re: Project erroring [message #1856795 is a reply to message #1856790] Tue, 03 January 2023 07:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
This question sounds similar to this one:

https://stackoverflow.com/questions/74779810/how-to-solve-the-unsupported-class-file-major-version-63-error-when-using-eclips

Asking about Gradle/Buildship would be better done here:

https://projects.eclipse.org/projects/tools.buildship/contact


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Project erroring [message #1860454 is a reply to message #1856790] Mon, 07 August 2023 09:56 Go to previous message
Michelle Klimas is currently offline Michelle KlimasFriend
Messages: 1
Registered: August 2023
Junior Member
It looks like there was an error related to initializing the Gradle build script in your project. The error message suggests that there is an issue with opening the class cache for the initialization script. Cleaning the Gradle cache might help resolve the issue. You can do this by deleting the contents of the .gradle/caches directory in your user folder (C:\Users\user\.gradle\caches).
Previous Topic:Error when transfering java projects from eclipse under windows to eclipse under linux
Next Topic:Purpose of org.eclipse.jdt.core.compiler.problem.fatalOptionalError option
Goto Forum:
  


Current Time: Wed Feb 05 08:57:56 GMT 2025

Powered by FUDForum. Page generated in 0.04403 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top