【Exception】UnsupportedClassVersionError

版权声明:本文为【丶我们一起学猫叫】原创文章,允许转载,但转载必须注明出处并附带首发链接! https://blog.csdn.net/AV_woaijava/article/details/89207147

Exception in thread “JavaFX Application Thread” Exception in thread “main” java.lang.UnsupportedClassVersionError: com/jfoenix/svg/SVGGlyph has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)

原因

当前编译环境与所依赖的jar包的编译版本不一致

解决方案

方案一:改变当前运行环境版本,与所依赖的jar包的运行环境匹配

方案二:改变所依赖jar包的版本,与当前运行环境匹配

猜你喜欢

转载自blog.csdn.net/AV_woaijava/article/details/89207147