[jboss-user] [JBoss Web Services] - Error deploying a Web Service

Sidney Zurch do-not-reply at jboss.com
Thu Jun 24 11:51:03 EDT 2010


Sidney Zurch [http://community.jboss.org/people/zurchman] replied to the discussion

"Error deploying a Web Service"

To view the discussion, visit: http://community.jboss.org/message/549538#549538

--------------------------------------------------------------
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
[http://community.jboss.org/message/549538#549538]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100624/e6f1c07c/attachment.html 


More information about the jboss-user mailing list