My Oracle Support Banner

"java.lang.StackTraceElement does not have a no-arg default constructor" When Deploying A Web Service Application (Doc ID 1540836.1)

Last updated on APRIL 06, 2018

Applies to:

Oracle Weblogic Server - Version 10.3.1 and later
Information in this document applies to any platform.


When deploying a web service application, the following exception occurs: 

  at weblogic.servlet.internal.WebAppModule.startContexts(
  at weblogic.servlet.internal.WebAppModule.start(
  at weblogic.application.internal.flow.ModuleStateDriver$
  at weblogic.application.utils.StateMachineDriver.nextState(
  at weblogic.application.internal.flow.ModuleStateDriver.start(
  Truncated. see log file for complete stacktrace
Caused By: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
  this problem is related to the following location:
  at java.lang.StackTraceElement
  at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
  at java.lang.Throwable
  at private java.lang.Throwable[] com.customerDomain.ServiceException_Bean.suppressed
  at com.customerDomain.ServiceException_Bean

  at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(
  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(
  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(
  at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.bui



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.