贾斯珀听众?从 Tomcat 8 升级到 Tomcat 9

编程入门 行业动态 更新时间:2024-10-22 20:20:58
本文介绍了贾斯珀听众?从 Tomcat 8 升级到 Tomcat 9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

由于 Tomcat 8.0 已经结束,我想将我的应用程序直接升级到 Tomcat 9.

Since Tomcat 8.0 has reached end of life, I want to upgrade my application directly to Tomcat 9.

当我将基于 Java 的应用程序从本地部署到我的服务器时,我有一个覆盖 server.xml 的脚本.我将服务器升级到了 tomcat 9 并尝试将我的应用程序放在那里,但在尝试启动它时出现错误.

When I deploy my Java based App from local to my server, I have a script which overrides the server.xml. I upgraded the server to a tomcat 9 and tried to put my application in there, but I get an error when trying to start it.

org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener
at java.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

Tomcat 9 不知道 JasperListener.我在 google 上搜索了这个问题,并从 apache 找到了Jasper How to"页面,但我不明白.现在是否安装了 Jasper,而无需在 server.xml 中插入 JasperListener?从 Tomcat 8 升级到 9 时,我还需要更新什么吗?

Tomcat 9 does not know JasperListener. I googled this issue and found the "Jasper How to" page from apache, but I do not get it. Is Jasper now installed without me having to insert the JasperListener in the server.xml? And do I have to update anything else when upgrading from Tomcat 8 to 9?

推荐答案

org.apache.catalina.core.JasperListener 不再需要.因此,如果它存在于您的 server.xml 中 - 将其注释掉!

org.apache.catalina.core.JasperListener is no longer required. So if it exists in your server.xml - comment it out!

这篇关于贾斯珀听众?从 Tomcat 8 升级到 Tomcat 9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 04:00:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1389332.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:升级到   听众   贾斯珀   Tomcat

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!