Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Thanks for reporting. Indeed we don't include all dependencies (some of them are playing very badly with the security manager for example) so this is a side effect of it.
But I think we should do a better job and try to send a cleaner exception in such a case.
Could you open an issue in elasticsearch repo so we can either try to add missing librairies if possible and/or catch this situation a bit better?