Unable to Autowired service to UserBrowse screen

I have a jmix project.

I created a userService.


@Service("userService")
@Slf4j
public class UserService extends BaseService {
...

I have exposed some the methods in the userService as rest service, and I can invoke those methods throught rest service.

I want to resuse the method in the service in UserBrowse screen, I inject the service in it as follow.
image

When I clicked the “Users” to open the browse page, it prompted:
image

Jmix version: 1.2.4
JDK: 17.0.3

Works for me on Jmix 1.4.
Could you provide a test project where the problem is reproduced?