From d77f31c96e9e82d6245d1e244dd5a91b444295a0 Mon Sep 17 00:00:00 2001 From: Antoine Rey <antoine.rey@gmail.com> Date: Wed, 6 Jul 2016 19:00:32 +0200 Subject: [PATCH] Fix Jetty 9 startup --- src/main/webapp/WEB-INF/jetty-web.xml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/webapp/WEB-INF/jetty-web.xml diff --git a/src/main/webapp/WEB-INF/jetty-web.xml b/src/main/webapp/WEB-INF/jetty-web.xml new file mode 100644 index 0000000..5bb92f0 --- /dev/null +++ b/src/main/webapp/WEB-INF/jetty-web.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> +<Configure class="org.eclipse.jetty.webapp.WebAppContext"> + <!-- Fix Jetty 9 issue --> + <!-- http://stackoverflow.com/questions/32643530/classpath-issue-between-jetty-maven-plugin-and-tomcat-jdbc-8-0-9-leading-to-ser --> + <Set name="parentLoaderPriority">true</Set> +</Configure> -- GitLab