Jenkins 添加节点报错

报错日志

bash 复制代码
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher 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

原因分析:

由于当前使用的为最新版本的Jenkins【其内部用的是JDK17】,待添加节点上的JDK版本为1.8版本;

解决方式

手动上传版本≥11的JDK,并在为节点配置JDK目录;

结果展示


相关推荐
菜鸟康1 小时前
Linux——CMake的快速入门上手和保姆级使用介绍、一键执行shell脚本
linux·运维·服务器
卷卷的小趴菜学编程1 小时前
Linux系统之----基础IO
linux·运维·服务器·文件·fopen·文件操作符·位图传递标志位
码上飞扬2 小时前
Java大师成长计划之第22天:Spring Cloud微服务架构
java·运维·云计算
重启就好2 小时前
【Ansible】之inventory主机清单
运维·ansible
Kusunoki_D3 小时前
速查 Linux 常用指令 II
linux·运维·服务器
唐山柳林3 小时前
城市生命线综合管控系统解决方案-守护城市生命线安全
java·安全·servlet
xmweisi023 小时前
Ansible内置模块之 group
linux·运维·ansible·rhce·rhca·红帽认证
孤寂大仙v4 小时前
【Linux笔记】——Linux线程理解与分页存储的奥秘
linux·运维·笔记
有谁看见我的剑了?5 小时前
ubuntu 22.04 wifi网卡配置地址上网
linux·运维·ubuntu
码农新猿类5 小时前
Ubuntu摄像头打开失败
linux·运维·ubuntu