Hot code replace works for me on instance methods, but not on static methods. I get this error
Note that I am simply adding a println
to the body of a static private
or even public
method, not changing any method modifiers, as suggested by the error message. How do I achieve this hot replacement?
I am using Eclipse Oxygen and Java 8 JRE.
Maven com.google.cloud.tool:appengine-maven-plugin
is used to launch app in debug mode with goal
appengine:run
. I then connect with the Eclipse remote debugger.