That's pretty easy one when read carefully: you build your project ontop java 10 - but the server only supports up to EE7. And we all should know what happens when one try to run code compiled by newer compiler to run on older vm: version-error - as java is only backwards compatible.
So, either setup a server matching your build environment - or fix your build to match highest supported server version.
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java