On Wednesday 19 January 2011 4:10:57 pm Anthony Lauro wrote: > Hi - > > So the OSGI container is trying to deploy the service and I get a big fat > IllegalAnnotationsException. 40 counts to be exact. How can I determine > which annotations are wrong and what's wrong with each one? The java code > was generated from a wsdl and had annotations in place so I assumed > everything would be all good. The logging is all debug for everything and > nothing indicating which classes and annotations are faulty is displayed.
Is there any stacktrace at all? What OSGi container and what bundles are in it? Also double check to make sure your bundle imports the correct versions of the annotations and such. Especially if you are hand maintaining your manifests. One common thing I see is people forgetting to import the annotations. Finally, when you generated the code, did you use the CXF 2.3.2 command line wsdl2java? That may have generated JAX-WS/JAXB 2.2 compliant code that might not work with the 2.1.x versions that your OSGi container is picking up. > Thanks, > > Tony > > p.s. I need to unsubscribe and resubscribe using a different email address. > I sent to [email protected] and nothing has happened. Try sending to [email protected] (modify the email address in there, @ becomes =) and seeing if that helps. If not, send me the email address you need unsubscribed. -- Daniel Kulp [email protected] http://dankulp.com/blog
