My project structure below
com.example.demo demo1 controller HelloController.java ApplicationSpringBoot.java demo2