Spring
Intellij Spring boot Jmx RMI remote objects have benn exported
하르싼
2022. 9. 13. 11:15
반응형
Intellij 에서 Spring boot 2.7.3 프로젝트를 생성 후 내장톰캣으로 프로젝트를 구동하였는데
JMX 관련하여 오류가 발생
The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported
Port already in use: nested exception

구동할때마다 바뀌는 Exception 내용들이 있어서 구글링을 통해 JMX 를 비활설화
application.properties 에서
spring.application.admin.enabled=false
위와같이 했으나 Intellij에서는 설정이 안되기에 내장톰캣에서 JMX를 비활성화


반응형