check not only if the cglib class exists, but also all dependencies for successful classloading are satisfied