Sudden ClassNotFound exceptions, sometimes related to changed dependencies

So this can’t really be related to the original issue…

What I really don’t get is why this sometimes, but not always, happens on our build server (linux) but it never happened on my dev machine (os x) so far.