JCS Service Instance Wouldn't Start java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.api.addressing.AddressingVersion

(Doc ID 2254502.1)

Last updated on AUGUST 09, 2017

Applies to:

Java Cloud Service - Version 14.1 to 14.1
Information in this document applies to any platform.

Goal

In JCS cloud starting WebLogic Server instance failed with the following error

<Apr 10, 2017, 10:46:51,461 PM SGT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 2 exceptions. They are:
1. java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.api.addressing.AddressingVersion
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.wsee.wstx.internal.WSATTransactionService

A MultiException has 2 exceptions. They are:
1. java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.api.addressing.AddressingVersion
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.wsee.wstx.internal.WSATTransactionService

at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:391)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:232)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2020)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.api.addressing.AddressingVersion
at weblogic.wsee.wstx.wsat.common.WSATVersion10.<init>(WSATVersion10.java:27)
at weblogic.wsee.wstx.wsat.common.WSATVersion.<clinit>(WSATVersion.java:20)
at weblogic.wsee.wstx.wsat.WSATHelper.<clinit>(WSATHelper.java:48)
at weblogic.wsee.wstx.internal.WSATGatewayRM.recoverPendingBranches(WSATGatewayRM.java:112)
at weblogic.wsee.wstx.internal.WSATGatewayRM.create(WSATGatewayRM.java:84)
Truncated. see log file for complete stacktrace

Solution

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