We are trying to put a service into Scheduled Task that sweep the product table to find if a product inventory fall below a threshold to trigger re-order.
We created two files in core module: The interface is ProductReorderService.java, and the bean is ProductReorderServiceBean.java annotated with @Component. Please find the snapshot of the two files and the build log attached.
What we are missing here? Should the ProductReorderServiceBean also need to be declared in:
modules\core\src\spring.xml or something?
Any help is much appreciated.