jetty-9无法通过WAR内部的IoC XML加载上下文配置

jetty-9无法通过WAR内部的IoC XML加载上下文配置,jetty,inversion-of-control,web.xml,jetty-9,Jetty,Inversion Of Control,Web.xml,Jetty 9,我正在尝试使用jetty IoC加载我的webcontext 我的war名称git.ctr-0.0.1-SNAPSHOT.war 我的Jetty IoC xml文件名, jetty web.xml位于git.ctr-0.0.1-SNAPSHOT/web-INF/ 根据jetty的文件,is说放置在war文件中的IoC文件可以由jetty部署人员扫描,war可以使用XML进行部署。 链接 我的Ioc XML <?xml version="1.0" encoding="UTF-8"?>

我正在尝试使用jetty IoC加载我的webcontext

我的war名称git.ctr-0.0.1-SNAPSHOT.war 我的Jetty IoC xml文件名, jetty web.xml位于git.ctr-0.0.1-SNAPSHOT/web-INF/

根据jetty的文件,is说放置在war文件中的IoC文件可以由jetty部署人员扫描,war可以使用XML进行部署。 链接

我的Ioc XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">

<Configure class="org.eclipse.jetty.webapp.WebAppContext">  
  <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/git.ctr-0.0.1-SNAPSHOT.war</Set>
  <Set name="contextPath">/git</Set>
  <Get name="securityHandler">
   <!-- Either: -->
   <Set name="loginService">
     <New class="matrix.git.ctr.MyLoginService">
           <Set name="name">matrix-aa</Set>
           <Set name="idpUrl">https://10.100.20.83:8091</Set>
     </New>
   </Set>

   <!-- or if you defined a LoginService called "Test Realm" in jetty.xml : -->
   <Set name="realmName">matrix-aa</Set>

 </Get>
</Configure>

/webapps/git.ctr-0.0.1-SNAPSHOT.war
/吉特
基质aa
https://10.100.20.83:8091
基质aa
请建议如何通过jetty加载此配置