Spring Boot's spring.jmx resource management is turned on by default, and the use of two projects at the same time will conflict
Modify the configuration file: application.properties(yml)
Method 1:
Add in the project configuration: spring.jmx.enabled=false
Method 2:
Configure
spring.jmx.default-domain=project1
spring.jmx.default-domain respectively in the application =project2
To ensure that the domains are two different