I get an IllegalAnnotationsException when deploying my application
Issue
- When deploying my application or calling a Web Service method I see the following exception in the server log. What does it mean?
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
org.jboss.example.myApplication.myPackage.ws.services.jaxws.JAXBExceptionBean.linkedException
at org.jboss.example.myApplication.myPackage.ws.services.jaxws.JAXBExceptionBean
Environment
- JBoss Enterprise Application Platform (EAP) 5.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.