运行playground2时出现错误无法为JSP编译类

问题描述

我正在经历 local authenticator example 并在第 14 步,按“授权”后,出现异常

[2021-02-02 18:13:41,087] [0528806c-f8f8-4df5-abca-5f47c3972b24] ERROR 
{org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/authenticationendpoint]. 
[default]} - Servlet.service() for servlet [default] in context with path 
[/authenticationendpoint] threw exception [Unable to compile class for JSP: 

An error occurred at line: [25] in the jsp file: [/includes/localize.jsp]
Duplicate local variable BUNDLE
22: <%@ page import="java.nio.charset.StandardCharsets" %>
23: <%@page contentType="text/html; charset=UTF-8"%>
24: <%
25:     String BUNDLE = 
"org.wso2.carbon.identity.application.authentication.endpoint.i18n.Resources";
26:     ResourceBundle resourceBundle = ResourceBundle.getBundle(BUNDLE,request.getLocale(),new
27:             EncodedControl(StandardCharsets.UTF_8.toString()));
28: %>

我正在运行 WSO2 5.11 和 Tomcat 7.0.107。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)