Spring Boot DevTools Remote Debugging not Working


I am a new user and am having a little trouble getting remote debugging working with Spring Boot DevTools.  

I followed the guide from Spring (https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html#using-boot-devtools-remote)

When I set it up in IntelliJ, I first get a warning in the configuration: "Warning: Class 'org.springframework.boot.devtools.RemoteSpringApplication' not found in module 'reload'" as seen here:

I have the spring-boot-devtools dependency in my pom.xml:

Even with the warning, it works when I simply run this configuration (not debug). I am able to perform a live reload on the remote application.  

However, when I try to debug, I get a ClassNotFoundException for org.springframework.boot.devtools.RemoteSpringApplication.

My docker deployment configuration has the recommended (https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html#using-boot-devtools-remote-debugtunnel) entrypoint: java -Djava.security.egd=file:/dev/./urandom -Xdebug -Xrunjdwp:server=y,transport=dt_socket,suspend=n -jar /app.jar

Any help or guidance is greatly appreciated!  

Best regards,


Comment actions Permalink

Could you please ZIP your project and create a new issue in our tracker? https://youtrack.jetbrains.com/issues/IDEA Thanks.

Comment actions Permalink

Was there any update on the issue?

Comment actions Permalink

You should add configuration as "Application" not "Spring Boot" 


Please sign in to leave a comment.