When the springboot project is split in a monolithic application, the location of the startup class is correct, and the springboot project starts normally.
The problem is that the access interface reports 404, and the demo can be passed normally by writing the demo. The only difference is , Startup class added:
@componentScanScan package annotation
Our project is split into multiple modules, and what I'm starting to scan is the solution for the sibling module package
:
Re-architecture-the most trivial solution