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

结果展示


相关推荐
K·Herbert6 小时前
最新CentOS 7 yum源失效的解决方案(2025年6月)
linux·运维·centos
别骂我h6 小时前
部署KVM虚拟化平台
linux·运维·服务器
showmethetime7 小时前
优化nginx参数(基本通用参数)
运维·nginx
老六ip加速器7 小时前
获取ip地址安全吗?如何获取静态ip地址隔离ip
运维·网络·智能路由器
Serendipity_筱楠7 小时前
Windows安装部署jenkins
windows·ci/cd·自动化·jenkins·测试
llwszx8 小时前
一文解决Servlet、Tomcat与HttpServletRequest
java·servlet·tomcat·httpreque
净心净意15 小时前
浅谈DaemonSet
运维·jenkins
Apex Predator21 小时前
jenkins流水线打包vue无权限
运维·jenkins
哲讯智能科技1 天前
苏州SAP代理商:哲讯科技助力企业数字化转型
大数据·运维·人工智能
十五年专注C++开发1 天前
Qt .pro配置gcc相关命令(三):-W1、-L、-rpath和-rpath-link
linux·运维·c++·qt·cmake·跨平台编译