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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to