Started using intellij idea, so the output dir of resources changed a little. Now compiles nicely, with both idea and my run script.