Servlet Fails with "java.lang.NoClassDefFoundError: Could Not Initialize Class Sun.awt.X11.XToolkit"

(Doc ID 1587453.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.6 and later
Java SE JDK and JRE - Version 6 and later
Information in this document applies to any platform.


A Java servlet deployed in WebLogic Server (WLS) 10.3.6 fails with the error BEA-101017 as soon as the whole configuration is run in a closed network environment (no Internet access).
The WLS instance is going down as a result.

The error message:



 The network was closed so that no connections to the Internet were possible.


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