Just for my own reference.
java.lang.ClassNotFoundException is a build error, saying that you’re using a class that doesn’t exist, so the build fails.
java.lang.NoClassDefFoundError is a link error at runtime, saying that you’re using a class that was available at build time, but isn’t available at runtime anymore.
I know. Thanks. Now continue your work.