Hi ivyteam

I'm using ivy 7.0.3 to develop RestAPI.

Now i have a api as below

alt text On the right side i define @Path on class body but the left side.

The right it works well on designer and engine. The left only works for Designer. on engine it say restAPI not found (already restart ivy engine)

Does ivy require @Path on class body?


asked 23.10.2018 at 07:51

trungdv's gravatar image

accept rate: 52%

edited 23.10.2018 at 07:54


Yes the Path annotation is needed at class level. This is defined in the JAX-RS standard. See Building RESTful Web Services with JAX-RS or @Path Java Doc

I can not reproduce that this works without the path annotation on class level on a designer (7.0.8). You could use an empty path at class level:

public class PersonServiceEmptyClassAnnotation {

    public String getPersonInfo() {
        return "info-empty";

answered 05.11.2018 at 09:09

Christian%20Strebel's gravatar image

Christian St... ♦
accept rate: 88%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 23.10.2018 at 07:51

Seen: 1,554 times

Last updated: 05.11.2018 at 09:09