Using rest service in addon project

Hi,

Jmix Version : 2.4.5

I have a main project (full stack-project) and a sub-project (addon project).

In addon project, I have added rest api dependency.
I have created rest-services.xml and added its path in module.properties.

Then I have published the project in local maven and added the dependency in the main project.

In main project, I have created rest-services.xml and added the path in application.properties.
Main project also includes the auth dependency and rest api dependency.

When I run the main project and create a access token using psotman. I am able to hit entities of addon project, but not rest service of an addon project.

Hi,

Could you please attache a demo project that reproduces the problem?

Regards,
Gleb