title: Weblogic 12c versions, servlet failed to preload
body: <p>Been scratching my head for about a day, I'd really appreciate any help.</p>
  
  <ul>
  <li>Using Weblogic 12c version 12.<strong>2.1</strong> and Jersey 1.19 everything is OK</li>
  <li>Using Weblogic 12c version 12.<strong>1.3</strong> I'm getting this error:</li>
  </ul>
  
  <blockquote>
    <p>Servlet:"ServletAdaptor" <strong>failed to preload</strong> on startup in Web application:  "PapWeb".java.lang.ArrayIndexOutOfBoundsException:
    65281</p>
  </blockquote>
  
  <p>Edit: I also see this related(?) warning when running the 12.1.3 server:</p>
  
  <blockquote>
    <p>The application is using ServletContainerInitializer class
    com.sun.jersey.server.impl.container.servlet.JerseyServletContainerInitializer
    that is loaded
    from:file:/D:/servers/wls12130/oracle_common/modules/jersey-servlet-<strong>1.18</strong>.jar.
    This initializer overrides the one available in the system.</p>
  </blockquote>
  
  <p>WEB_INF/lib includes those jars:</p>
  
  <ul>
  <li>jersey-<strong>1.19</strong></li>
  <li>jersey-core-<strong>1.19</strong></li>
  <li><p>jersey-multipart-<strong>1.19</strong></p>
  
  <p>My web.xml has:</p>
  
  <pre><code>&lt;servlet&gt;
  &lt;servlet-name&gt;ServletAdaptor&lt;/servlet-name&gt;
  &lt;servlet-class&gt;com.sun.jersey.spi.container.servlet.ServletContainer&lt;/servlet-class&gt;
  &lt;init-param&gt;
      &lt;param-name&gt;com.sun.jersey.config.property.packages&lt;/param-name&gt;
      &lt;param-value&gt;gr.modas.core.bussiness.services&lt;/param-value&gt;
  &lt;/init-param&gt;
  &lt;init-param&gt;
      &lt;param-name&gt;com.sun.jersey.config.server.provider.packages&lt;/param-name&gt;
      &lt;param-value&gt;gr.modas.core.bussiness.services&lt;/param-value&gt;
  &lt;/init-param&gt;
  &lt;init-param&gt;
      &lt;param-name&gt;com.sun.jersey.spi.container.ContainerRequestFilters&lt;/param-name&gt;
      &lt;param-value&gt;gr.modas.core.bussiness.services.PapyrosRequestFilter&lt;/param-value&gt;
  &lt;/init-param&gt;
  &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;ServletAdaptor&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt; 
  </code></pre></li>
  </ul>