geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3002) Error processing @WebServiceRefs annotation
Date Wed, 21 Mar 2007 16:14:32 GMT
Error processing @WebServiceRefs annotation
-------------------------------------------

                 Key: GERONIMO-3002
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3002
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
            Reporter: Jarek Gawor


I'm getting the following exception when @WebServiceRefs(..) annotation is specified at class
level:

Caused by: java.lang.IllegalArgumentException: You must supply exactly one of Me
thod, Field
        at org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper.getIn
jectionJavaType(AnnotationHelper.java:46)
        at org.apache.geronimo.j2ee.deployment.annotation.WebServiceRefAnnotatio
nHelper.addWebServiceRef(WebServiceRefAnnotationHelper.java:249)
        at org.apache.geronimo.j2ee.deployment.annotation.WebServiceRefAnnotatio
nHelper.processWebServiceRefs(WebServiceRefAnnotationHelper.java:159)
        at org.apache.geronimo.j2ee.deployment.annotation.WebServiceRefAnnotatio
nHelper.processAnnotations(WebServiceRefAnnotationHelper.java:85)

My understanding is that for the *s annotations the deployment descriptor is updated however
the values are not injected at runtime. Therefore, the injectionTarget element in xml should
not be generated for such annotations.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message