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

结果展示


相关推荐
Sylvia@8881 小时前
18.SELInux安全性
linux·运维·服务器
Deamon Tree2 小时前
后端开发常用Linux命令
linux·运维·python
Super Rookie3 小时前
RabbitMQ 自动化脚本安装方案
运维·自动化·rabbitmq
key_Go4 小时前
0.基于Centos-Stream8 搭建Openstack环境
linux·运维·centos·openstack
dehuisun4 小时前
centos7部署jenkins
jenkins
Elastic 中国社区官方博客4 小时前
介绍 Elastic 的 Agent Builder - 9.2
大数据·运维·人工智能·elasticsearch·搜索引擎·ai·全文检索
songx_994 小时前
idea建有servlet类的web项目
java·servlet·intellij-idea
贝锐4 小时前
把握三个要点,搭建企业远程技术支持安全体系
运维
LXY_BUAA5 小时前
Linux常见命令
linux·运维·服务器
想学全栈的菜鸟阿董5 小时前
Crew连接多个 MCP 服务器
运维·服务器·github