My JDK 9+181 Spring Boot 2.0.0.BUILD-SNAPSHOT CLI application displays this warning on startup:
WARNING: An illegal reflective access operation has occurred
This also happened to me on JDK 11 and Spring Boot 2.2.1 (Spring Core 5.2.1).
What helped was removing the dependency to org.springframework.boot:spring-boot-devtools, as suggested in some comments to Spring Framework issue #22814.
org.springframework.boot:spring-boot-devtools