Fork me on GitHub
#component
<
2016-09-27
>
donaldball00:09:18

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

seancorfield16:09:27

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.

donaldball17:09:26

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

seancorfield17:09:35

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).