[英]Google closure compiler for java 8
哪个 Google 闭包编译器版本适用于 java 8?
试过 v20220905 版本:
java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CommandLineRunner 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
你没有提供太多信息。 无论如何,问题与您使用的JDK版本有关。
需要 Java 版本在 55 - 即 Java 11(或更多) 您的 JDK 版本是 52 - 即 Java8
您应该升级 JDK(或使用支持 Java 8 的此库版本)。
有关 Java 文件版本的更多信息: https://en.wikipedia.org/wiki/Java_class_file#General_layout
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.