Jenkins部署在tomcat上,Jenkins升级后一直报错,可以打开tomcat,不能打开jenkins,报404
查看日志发现下列问题:版本不支持的问题
jenkins/JenkinsHttpSessionListener 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.JenkinsHttpSessionListener])
本机装的jdk是1.8
升级后的jenkins版本是2.375,必须是jdk11以上的版本才支持
后在jenkins官网,重新下载了jenkins2.350的版本的war包,放在tomcat的webapp下,重新启动运行成功
以此记录
标签:tomcat,遇到,升级,version,版本,jenkins,Jenkins From: https://www.cnblogs.com/duhongjin/p/17054940.html