Split Spring configuration file

Supplementary content:
1. Split Spring configuration file
Insert picture description here
2. Create test knight class-TestKnight
Insert picture description here

3. Run the test method and view the results
Insert picture description here

Summary: In creating the test knight class-TestKnight, I encountered a situation where the package name location was different from the actual location.

Guess you like

Origin blog.csdn.net/triet/article/details/115062258