Method One:
In the package path start packet class as a top path
such as a promoter based xxxApplication.java at com.cicd package
bag where the controller should then be similar com.cicd.controller
Method Two:
Adding above starting @ComponentScan annotations, annotation this scan path is specified, for example: @ComponentScan (basePackages = { "com.cicd , com.test.."}) To a plurality of different separated by commas.