ON jetty 8 to jetty 9 migration when using jetty-maven-plugin, the application cannot load because of the class cast exception:
java.lang.ClassCastException: org.eclipse.jetty.webapp.WebAppContext cannot be cast to org.eclipse.jetty.maven.plugin.JettyWebAppContext
Change the context handler from WebAppContext to JettyWebApp context.
Also make the same change to your jetty-context.xml