My Oracle Support Banner

JSP 执行失败发生异常 java.lang.NoClassDefFoundError: sun/io/CharacterEncoding (Doc ID 2218836.1)

Last updated on JULY 01, 2019

适用于:

Oracle WebLogic Server - 版本 12.1.3.0.0 到 12.2.1.0.0 [发行版 12c]
本文档所含信息适用于所有平台

症状

在weblogic 12.1.3(JDK 1.8) 上执行JSP失败,当时JDK换成1.7时,同样的JSP执行没有问题

<H3>The following exception occurred:</H3>java.lang.NoClassDefFoundError: sun/io/CharacterEncoding

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


文档内容
症状
原因
解决方案
参考

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.