Search code examples
jarguidewire

Gosu compiler: org.jetbrains.jps.incremental.ProjectBuildException: Internal Gosu compiler exception


We are trying upgrade spring web, spring core, spring bean framework from 5.* version to Version 6* in Billing center with V10. But getting below Exception : Gosu compiler: org.jetbrains.jps.incremental.ProjectBuildException: Internal Gosu compiler exception. Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 61

we are using Java 11 while upgrading the spring framework, Is there any way to upgrade spring framework without switching to java 17 or higher?


Solution

  • Spring 6 based on Java 17+

    You should extract your Spring part from BC and develop it independently