Unable to clear jar cache after compilation, maybe daemon is already down:

I am getting below mentioned error in my build. Sometimes build pass, but sometime build fail with below error. any idea?

Unable to clear jar cache after compilation, maybe daemon is already down: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
Could not connect to kotlin daemon. Using fallback strategy.

1 Like