I think, tms-admin, it should be a jar as a Util that needs to be pushed. Additionally, all dependencies required to use the tms-admin should also be present in the current module. Furthermore, you must include these dependencies in the component scan. Additionally, the CustomerRepository class should be public and have a bean annotation.