Hi

Please check that the code used in the office has all the annotations grouped on the same class/interface, for example, if you have HttpService interface and HttpServiceImpl, then Description annotations should also be on HttpService where @Path/etc are, otherwise they'd be not 'visible'

Cheers, Sergey



On 26/09/11 13:14, Maggie Leber (sl: Maggie Darwin) wrote:
On Sun, Sep 25, 2011 at 11:38 AM, Sergey Beryozkin<[email protected]>  wrote:

What CXF version are you working with ? It has to be 2.4.0 at least.

I upgraded to 2.4.2...

If WADL is properly generated, then annotations such as @Path are visible.
But if no @Description is visible at the same time, then may be it's a case
of an OSGI Import-Package directive missing a
"org.apache.cxf.jaxrs.model.wadl" value ?

...by editing our Maven POM; we're not using OSGI.

Last night I tried to reproduce the issue on my home development
environment and it seems to be working correctly.

There must be something bogus (downlevel libs, perhaps) on the dev
environment on my office machine. I'm new to Maven and likely did
something wrong getting to 2.4.2. Thanks for your help!

  MaggieL

Reply via email to