JBoss Community

Error deploying a Web Service

reply from Sidney Zurch in JBoss Web Services - View the full discussion

Like they say in Las Vegas, "Bingo!"

 

Illega lAnnotation

 

You may have to post the code.  And I'm curious about how SQL is related.

Stefano Ficcadenti wrote:

 

Logically I don't understand the problem, I use always Java Annotations (@WebService, @SOAPBinding,ecc...) and basic web.xml.

 


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 java.lang.Exception
        at java.sql.SQLException
        at private java.sql.SQLException test.ws.jaxws.SQLExceptionBean.nextException
        at test.ws.jaxws.SQLExceptionBean

 

...


DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/Applications/JBoss5.1/server/default/deploy/UnikaWS.war/" is in error due to the following reason(s): 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 java.lang.Exception
        at java.sql.SQLException
        at private java.sql.SQLException test.ws.jaxws.SQLExceptionBean.nextException
        at test.ws.jaxws.SQLExceptionBean

 

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community