Closed luozhenyu closed 2 years ago
Thank you, @luozhenyu! I'll try to look into the icons issue this weekend.
Not working for 2021.3.1 :(
Thank you, @luozhenyu! I'll try to look into the icons issue this weekend.
@fkorotkov I made a mistake. The icon works normally in fact. I tested it on IDEA 2021.3 and 2022.1
Not working for 2021.3.1 :(
@uri200 I solved this problem. The plugin works well from 2021.2 to 2022.1 now.
@luozhenyu that was quick. Thanks!
@luozhenyu i am getting this error trying with a java 1.8 project:
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 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at com.intellij.util.containers.ContainerUtil.newArrayList(ContainerUtil.java:126) at org.jetbrains.jps.service.impl.JpsServiceManagerImpl$SingleClassLoaderPluginManager.loadExtensions(JpsServiceManagerImpl.java:113) at org.jetbrains.jps.service.impl.JpsServiceManagerImpl.loadExtensions(JpsServiceManagerImpl.java:105) at org.jetbrains.jps.service.impl.JpsServiceManagerImpl.getExtensions(JpsServiceManagerImpl.java:58) at org.jetbrains.jps.model.serialization.JpsModelSerializerExtension.getExtensions(JpsModelSerializerExtension.java:47) at org.jetbrains.jps.model.serialization.library.JpsLibraryTableSerializer.getLibraryPropertiesSerializer(JpsLibraryTableSerializer.java:117) at org.jetbrains.jps.model.serialization.library.JpsLibraryTableSerializer.loadLibrary(JpsLibraryTableSerializer.java:58) at org.jetbrains.jps.model.serialization.library.JpsLibraryTableSerializer.loadLibrary(JpsLibraryTableSerializer.java:53) at org.jetbrains.jps.model.serialization.library.JpsLibraryTableSerializer.loadLibraries(JpsLibraryTableSerializer.java:48) at org.jetbrains.jps.model.serialization.JpsGlobalLoader$GlobalLibrariesSerializer.loadExtension(JpsGlobalLoader.java:106) at org.jetbrains.jps.model.serialization.JpsGlobalLoader$GlobalLibrariesSerializer.loadExtension(JpsGlobalLoader.java:99) at org.jetbrains.jps.model.serialization.JpsLoaderBase.loadComponents(JpsLoaderBase.java:45) at org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalComponents(JpsGlobalLoader.java:73) at org.jetbrains.jps.model.serialization.JpsGlobalLoader.load(JpsGlobalLoader.java:63) at org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalSettings(JpsGlobalLoader.java:45) at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:21) at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:34) at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:68) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:324) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:175) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:218) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)
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
@guynaa I changes back to JDK 1.8. Does this build work? thrift.zip
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
@guynaa I changes back to JDK 1.8. Does this build work? thrift.zip
yes, this one works
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
@guynaa I changes back to JDK 1.8. Does this build work? thrift.zip
yes, this one works
Could you provide your version information of both IDE and OS? I am looking into this case. Jetbrains says IntelliJ project migrates to Java 11, so the IDEs should have a built-in JRE 11 runtime.
IntelliJ IDEA 2022.1 (Ultimate Edition) Build #IU-221.5080.210, built on April 12, 2022
Runtime version: 11.0.14.1+1-b2043.25 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
Hi! Can anybody, please, clarify the situation - are we waiting for something permitting 2022.1 support? Are there stoppers?
谢谢老板,很好用
Have built under Linux - it does work for me, thanks!
It doesn't work for 2022.1.1.How to correct build?
@Crysmart It does work for me after upgrading to 2022.1.1. Invalidate cache? I do it on every upgrade.
谢谢大佬!
@fkorotkov any plans to merge to the main fork/plugin? 🙏🏻
@patkujawa-wf thank you for pinging!
Do u have any plan to support new version ? And does this thrift plugins is compatible with Other JetBrains IDE like Pycharm or Golan d
Preview Download
thrift.zip
How to install plugin from disk?
Features
Support IntelliJ 2022.1
Upgrade to Gradle 7.4.2
Upgrade intellij plugin to 1.5.3
Remove all usages of deprecated API
README: Java 11 is required to build from source
Backwards compatibility since 2021.2