Hi everyone,
I'm facing a strange problem with my plugin. I try adding a REST service, so i declared the rest entry in the atlassian-plugin.xml, with a correct path
<rest key="myplugin-admin" path="/myplugin" version="1.0"> <description>Provides REST resources for the my plugin admin UI.</description> </rest>
I create a REST service in com.mypackage.rest. I'm sure this part is ok, because i tried a REST service created from scratch using atlassian tool, which work in a simple atlas-run, but not when the rest module is added to my plugin.
In the REST API browser, when i search for my REST api, i only see :
myplugin/1.0/atlassian-application.wadl
not any of my method, declared with @GET or @POST, a @Path...
The result of the wadl call does not display my methods.
Seems i have something wrong, but i cannot see the difference between my plugin and the test one i created to check, where everything was running fine. The WEB-INF/lib are the same, the pom.xml are similar, but in my plugin i have more things (listeners, servlets, admin, web resources and item,...).
Of course no error in Confluence or in logs.
I tried exporting the rest package with no result (OSGi).
Any idea what i could do wrong ?
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.