title: jetty startup errors with signer information errors
body: <p>Since I've set some maven dependencies to "provided" instead of "compile" scope I got this error when starting up jetty:</p>
  
  <ul>
  <li>JEE5 application</li>
  <li>should run on WebSphere 7 and Jetty 7</li>
  <li>Spring 3</li>
  </ul>
  
  <p>The error:</p>
  
  <pre><code>java.lang.SecurityException: class "javax.servlet.ServletRequestListener"'s signer information does not match signer information of other classes in the same package
      at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
      at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      at org.eclipse.jetty.server.handler.ContextHandler.setEventListeners(ContextHandler.java:554)
      at org.eclipse.jetty.webapp.WebAppContext.setEventListeners(WebAppContext.java:946)
      at org.eclipse.jetty.webapp.WebAppContext.addEventListener(WebAppContext.java:972)
      at org.eclipse.jetty.webapp.TagLibConfiguration.preConfigure(TagLibConfiguration.java:492)
      at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:418)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.Server.doStart(Server.java:260)
      at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
      at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
      at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:516)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  </code></pre>
  
  <p>The maven section is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;artifactId&gt;myApp.war&lt;/artifactId&gt;
      &lt;!--name??--&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;com.example&lt;/groupId&gt;
          &lt;artifactId&gt;myApp&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;java-version&gt;1.5&lt;/java-version&gt;
          &lt;org.springframework-version&gt;3.0.5.RELEASE&lt;/org.springframework-version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;org.aspectj-version&gt;1.6.9&lt;/org.aspectj-version&gt;
          &lt;org.slf4j-version&gt;1.6.1&lt;/org.slf4j-version&gt;
          &lt;cxf.version&gt;2.5.2&lt;/cxf.version&gt;
          &lt;jetty.version&gt;7.6.3.v20120416&lt;/jetty.version&gt;
          &lt;skipTests&gt;true&lt;/skipTests&gt;
          &lt;log4j.version&gt;1.2.15&lt;/log4j.version&gt;
      &lt;/properties&gt;
  
      &lt;!-- … --&gt;
               &lt;plugin&gt;
                   &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
                   &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                   &lt;version&gt;${jetty.version}&lt;/version&gt;
  
                   &lt;dependencies&gt;
                       &lt;dependency&gt;
                           &lt;groupId&gt;commons-dbcp&lt;/groupId&gt;
                           &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt;
                           &lt;version&gt;1.4&lt;/version&gt;
                       &lt;/dependency&gt;
                       &lt;dependency&gt;
                           &lt;groupId&gt;commons-logging&lt;/groupId&gt;
                           &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
                           &lt;version&gt;1.1&lt;/version&gt;
                           &lt;type&gt;jar&lt;/type&gt;
                       &lt;/dependency&gt;
                   &lt;/dependencies&gt;
  
                   &lt;configuration&gt;
                       &lt;scanIntervalSeconds&gt;5&lt;/scanIntervalSeconds&gt;
                       &lt;webAppConfig&gt;
                           &lt;contextPath&gt;/&lt;/contextPath&gt;
                       &lt;/webAppConfig&gt;
                       &lt;connectors&gt;
                           &lt;connector implementation="org.eclipse.jetty.server.bio.SocketConnector"&gt;
                               &lt;port&gt;8080&lt;/port&gt;
                               &lt;!-- this connector defaults to 1300 for some reason --&gt;
                           &lt;/connector&gt;
                       &lt;/connectors&gt;
                       &lt;!--
                       &lt;useProvided&gt;true&lt;/useProvided&gt;
                       --&gt;
                   &lt;/configuration&gt;
               &lt;/plugin&gt;
  </code></pre>
  
  <p>Can't get the cause. Any hints welcome ;)</p>