Error when starting the WebCentent Content managed server - java.lang.NoClassDefFoundError: sun/io/CharacterEncoding (Doc ID 2004527.1)

Last updated on JULY 31, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

When starting the WebCenter Content managed server the following error is seen

starting weblogic with Java version:
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

  <Servlet: "idcservlet.webservices.idcnativews.IdcWebLogin" failed to preload on startup in Web application: "idcnativews.war".
java.lang.NoClassDefFoundError: sun/io/CharacterEncoding
at oracle.j2ee.ws.common.util.TestPageUtils.encode(TestPageUtils.java:216)
at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.createTestPagePath(WebServiceOperation.java:276)
at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.initialize(WebServiceOperation.java:253)
at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.(WebServiceOperation.java:244)
at oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceOperationMBean(GenericProviderInterceptorPipeline.java:175)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: sun.io.CharacterEncoding
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Truncated. see log file for complete stacktrace

Cause

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 hundreds of Community platforms