Closed Nasller closed 3 years ago
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Project Settings/Project SDK/1.8 java version "1.8.0_271"
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Project Settings/Project SDK/1.8 java version "1.8.0_271"
whats mean , using 1.8.0_271 version?
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Project Settings/Project SDK/1.8 java version "1.8.0_271"
whats mean , using 1.8.0_271 version?
concrete JDKs version used in Project, if you can, not my case, change it to 11 jdk and you'll not see this error
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Project Settings/Project SDK/1.8 java version "1.8.0_271"
whats mean , using 1.8.0_271 version?
concrete JDKs version used in Project, if you can, not my case, change it to 11 jdk and you'll not see this error
i know. but i cant change .thanks
I don't think it's related to your Project JDK. The JPS part should use IDE's JDK. Can you share your About IntelliJ screen? Which JDK your IntelliJ is using. 🤔
I don't think it's related to your Project JDK. The JPS part should use IDE's JDK. Can you share your About IntelliJ screen? Which JDK your IntelliJ is using. 🤔
i think too. But it actually uses my project jdk.i try to change my project jdk to 11 and thats worked.use jdk11 no error.my intellij jdk used defaults jdk11.
I also encountered the same problem
Is there any current solution
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Is there any current solution
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
disabled the plugin
I got the same issue with my project JDK 8 on IntelliJ IDEA 2020.3. I have to disable the plugin to make it compile.
I also have the issue. The problem is that I cannot change to Java 11 since my company develops in a Scala version which requires Java 8.
Everys guys, I found a temporary solution. Remove the files in the META-INF.services
file directory in thrift-jps.jar
, so that you can temporarily use the function of thrift without reporting an build error. I guess it may affect To the function of the thrift compiler, but that function seems useless.Hope the author can fix it.Only applies to me, hope it can help you.
Everys guys, I found a temporary solution. Remove the files in the
META-INF.services
file directory inthrift-jps.jar
, so that you can temporarily use the function of thrift without reporting an build error. I guess it may affect To the function of the thrift compiler, but that function seems useless.Hope the author can fix it.Only applies to me, hope it can help you.
thanks, workaround is working for me.
Same issues and I have disabled this plugin. I will re-enable it after author fixes it.
MacOS Big Sur 11.1
Model Name: MacBook Pro
Model Identifier: MacBookPro15,3
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.4 GHz
Number of Processors: 1
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache: 16 MB
Hyper-Threading Technology: Enabled
Memory: 32 GB
IntelliJ IDEA 2020.3.1 (Ultimate Edition)
Build #IU-203.6682.168, built on December 29, 2020
$ java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
Internal error (java.lang.UnsupportedClassVersionError): com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Just published 1.5.0 where JPS plugins should be Java 8 compatible. Let's see if it fixes the issue.
java.lang.UnsupportedClassVersionError: com/intellij/plugins/thrift/jps/ModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0