component

donaldball 2016-09-27T00:57:18.000038Z

I am aot-compiling my source. Not doing any weird reloading anything.

seancorfield 2016-09-27T16:56:27.000039Z

I have seen NoClassDefFoundError in a worker thread during JVM shutdown. Normally I see it with Boot pods, where a timer is still active and it triggers between the time a needed class gets unloaded and the JVM shuts down. I would consider your -main waiting on a promise that the shutdown hook delivers to be suspicious here.

donaldball 2016-09-27T17:08:26.000040Z

I don’t know that I care that the promise is ever delivered, but I think that’s neither here nor there wrt the problem. The shutdown hook is barfing when it tries to call component/stop-system

seancorfield 2016-09-27T17:18:35.000041Z

I would add a println inside your shutdown hook function — just to verify that it is not somehow being invoked twice (and it’s the second call that’s failing).