微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决运行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 举报,一经查实,本站将立刻删除。