最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Spring cloud data flow java version mismatch - Stack Overflow

programmeradmin0浏览0评论

i am following the documentation tutorial of spring cloud data flow and when i try to run the default task timestamp i face this error : stderr: Error: LinkageError occurred while loading main class org.springframework.boot.loader.launch.JarLauncher java.lang.UnsupportedClassVersionError: org/springframework/boot/loader/launch/JarLauncher has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

im running scdf through docker (version 2.11.5) and my systems java version is 17

i am following the documentation tutorial of spring cloud data flow and when i try to run the default task timestamp i face this error : stderr: Error: LinkageError occurred while loading main class org.springframework.boot.loader.launch.JarLauncher java.lang.UnsupportedClassVersionError: org/springframework/boot/loader/launch/JarLauncher has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

im running scdf through docker (version 2.11.5) and my systems java version is 17

Share Improve this question asked Feb 6 at 9:02 Black JinsoulBlack Jinsoul 132 bronze badges 2
  • Timestamp Batch Task » 2.0.2 using this version of timestamp worked – Black Jinsoul Commented Feb 6 at 11:40
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Feb 6 at 18:58
Add a comment  | 

1 Answer 1

Reset to default 0

jinsoul

  • The 2.0.x versions run w/ Java8
  • The 3.0.x versions run w/ Java8+

SCDF by default uses Java 8 when running apps. You can adjust this by setting BP_JVM_VERSION to -jdk17 (e.g...)

export BP_JVM_VERSION=-jdk17
发布评论

评论列表(0)

  1. 暂无评论