首页 > 解决方案 > TOMCAT 9 +Java 8 升级问题:方法 URLDecode(String) 未定义类型 RequestUtil

问题描述

最近我将我的应用程序升级到 Tomcat 9 和 Java 8 并部署了我的 war 文件。当我启动我的应用程序时,我遇到了类似的错误,

  An error occurred at line: [3] in the jsp file: [/app/myPage.jsp]
  The method URLDecode(String) is undefined for the type RequestUtil
   1: </script>
   2: <%
   3: String fromPage = org.apache.catalina.util.RequestUtil.URLDecode( "redirect" );

在我的 lib 路径 catalina.jar 中有该方法。请指导我缺少什么。

标签: javajava-8tomcat9

解决方案



推荐阅读