Jvm heap monitoring

Thanks for the reply, Alex.
Yes, i was able to fix it with compilation errors but i am receiving below error

Failed to execute watch [mem_watch_eac2355d-3cb8-45c1-b5a7-b5c927624638-2017-11-27T22:30:33.070Z]

assuming my watcher is not working to monitor the jvm heap memory and I am unable to trace where the issue is. Please advise.