spring-boot

spring @Autowired sevice is null

I start building REST api with spring boot
the api accept an object (customer object) and save it to mySql database,
when I call the api from outsude the code from postman for example evertthing work fine
the problem is when I try to call …