title: How to include all .jar files in directory in Jetty 9.1.1
body: <p>We are in the process of upgrading from Jetty 9.0.6 to 9.1.1 and are working through the configuration changes to complete the transition.  Our application has numerous web contexts deployed, all of which use a common set of libraries (apache commons, logging, specific db, etc) located in an external directory (i.e. - outside of the Jetty deployment).  </p>
  
  <p>In Jetty 9.0.6, we included a parameter on start-up which referenced the top level directory for these common libraries:</p>
  
  <pre><code>java -jar .\start.jar lib=M:\common\lib
  </code></pre>
  
  <p>In the cutover to Jetty 9.1.1 the flag has been changed to <strong>--lib</strong>.  Using the <strong>--list-configs</strong> we've verified that the directory is in the classpath created by start.jar.  However, when the application is started, we are getting numerous ClassNotFound issues.  All of these errors are for classes contained in jar files that are located in the common library.</p>
  
  <p>This makes me believe that the flag is for either un-jarred classes or a list of specific jar files.  We've also tried using the M:\common\lib* and m:\common\lib*.jar to no avail.</p>
  
  <p>I've searched for any reports of a similar issue, but having found none am asking the question.  Does anyone know how to pass all .jar files located in a directory to Jetty 9.1.1 on startup?</p>