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目录;

结果展示


相关推荐
程序员-Benothing10 小时前
Vim编辑器从入门到精通:模式、快捷键、配置、插件
linux·运维·服务器
m0_6464299710 小时前
Docker 完整核心知识点总结(超通俗易懂版)
运维·docker·容器
亚川楼宇自控系统数据中心厂家10 小时前
IBMS 集成管理系统:如何打通楼宇自控实现建筑一体化管控
运维
迪康Defender11 小时前
终端安全审批体系设计:如何平衡安全管控与业务连续性
运维·服务器·安全·运维开发·学习方法·业界资讯·远程工作
luo_guibin12 小时前
Linux系统下OpenSSL升级全流程,新旧版本切换
linux·运维·服务器
71777712 小时前
支持混合云的 DevOps 平台有哪些:主流方案对比与选型指南
运维·devops
看着博客敲代码12 小时前
No space left on device:服务器被 SSH 爆破到日志写满的完整排查与止血
linux·运维·服务器·安全·ssh
编程序的员12 小时前
使用OpenTelemetry来监控Rust应用
运维·rust·monitoring·opentelemetry
实战派K8S&DB13 小时前
TDSQL 核心模块与进程体系
运维·数据库·分布式·sql·mysql
Rooting++13 小时前
用友打包的APP壳子怎么获取SHA1码?
运维·服务器