title: Failed startup of context o.e.j.m.p.JettyWebAppContext
body: <p>I am trying to use jetty-maven-plugin and see an issue : [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@21ba83e3
  java.util.ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype</p>
  
  <p>I saw few posts with similar error and saw that tomcat-juli is the jar that has the issue. But I don't see it in my project dependencies. I am not using AWT as well. </p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;com.intuit.ceg.platform&lt;/groupId&gt;
              &lt;artifactId&gt;mint-platform-core&lt;/artifactId&gt;
              &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
                      &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
           &lt;dependency&gt;
              &lt;groupId&gt;com.intuit.ceg.platform&lt;/groupId&gt;
              &lt;artifactId&gt;notification-adapters&lt;/artifactId&gt;
              &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.intuit.oinp.platform&lt;/groupId&gt;
              &lt;artifactId&gt;oinp-metrics-app&lt;/artifactId&gt;
              &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
           &lt;dependency&gt;
              &lt;groupId&gt;com.intuit.platform.integration.messaging.crypto&lt;/groupId&gt;
              &lt;artifactId&gt;messaging-crypto-client&lt;/artifactId&gt;
              &lt;version&gt;release-1.13&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;idps-sdk&lt;/artifactId&gt;
                      &lt;groupId&gt;com.intuit.idps&lt;/groupId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-jetty&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
           &lt;!--Rest- Assured dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
              &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
              &lt;version&gt;1.3&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.jayway.restassured&lt;/groupId&gt;
              &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;
              &lt;version&gt;2.9.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mockito&lt;/groupId&gt;
              &lt;artifactId&gt;mockito-core&lt;/artifactId&gt;
              &lt;version&gt;${mockito.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- Hibernate --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
              &lt;version&gt;4.3.9.Final&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.jboss.logging&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-logging&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.jboss.logging&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-logging-annotations&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;4.3.11.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-ehcache&lt;/artifactId&gt;
              &lt;version&gt;4.3.9.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
           &lt;!--Hikari connection pool changes --&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;com.zaxxer&lt;/groupId&gt;
             &lt;artifactId&gt;HikariCP&lt;/artifactId&gt;
              &lt;version&gt;${hikari.cp.version}&lt;/version&gt;
           &lt;/dependency&gt;
          &lt;!--  &lt;dependency&gt;
               &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
               &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
               &lt;version&gt;${hibernate-validator.version}&lt;/version&gt;
           &lt;/dependency&gt; --&gt;
           &lt;dependency&gt;
              &lt;groupId&gt;io.swagger&lt;/groupId&gt;
              &lt;artifactId&gt;swagger-jersey2-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;1.5.8&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-jersey --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-jersey&lt;/artifactId&gt;
      &lt;version&gt;1.5.4.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.logging.log4j&lt;/groupId&gt;
      &lt;artifactId&gt;log4j-api&lt;/artifactId&gt;
      &lt;version&gt;2.10.0&lt;/version&gt;
  &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
       &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.5.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.8&lt;/source&gt;
                      &lt;target&gt;1.8&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.5.4.RELEASE&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;repackage&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.7&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;instrumentation&gt;
                          &lt;excludes&gt;
                              &lt;exclude&gt;**/models/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/springConfig/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/common/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/resources/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/kafka/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/kafka/producers/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/scheduler/controller/**&lt;/exclude&gt;
                              &lt;exclude&gt;**/MetricsReporterApplication.class&lt;/exclude&gt;
                              &lt;exclude&gt;**/SQSAsyncClientFactoryImpl.class&lt;/exclude&gt;
                              &lt;exclude&gt;**/SQSClientImpl.class&lt;/exclude&gt;
                              &lt;exclude&gt;**/SESWebHookEventConsumer.class&lt;/exclude&gt;
                              &lt;exclude&gt;**/SendGridWebHookService.class&lt;/exclude&gt;
                          &lt;/excludes&gt;
                      &lt;/instrumentation&gt;
                      &lt;check&gt;
                          &lt;branchRate&gt;60&lt;/branchRate&gt;
                          &lt;lineRate&gt;95&lt;/lineRate&gt;
                          &lt;totalBranchRate&gt;80&lt;/totalBranchRate&gt;
                          &lt;totalLineRate&gt;97&lt;/totalLineRate&gt;
                          &lt;packageLineRate&gt;97&lt;/packageLineRate&gt;
                          &lt;packageBranchRate&gt;80&lt;/packageBranchRate&gt;
                          &lt;haltOnFailure&gt;true&lt;/haltOnFailure&gt;
                          &lt;regexes&gt;
                              &lt;regex&gt;
                                  &lt;pattern&gt;com.intuit.ceg.platform.notifications.services.EventConsumerHelper.class&lt;/pattern&gt;
                                  &lt;branchRate&gt;97&lt;/branchRate&gt;
                                  &lt;lineRate&gt;97&lt;/lineRate&gt;
                              &lt;/regex&gt;
                          &lt;/regexes&gt;
                      &lt;/check&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;clean&lt;/goal&gt;
                              &lt;goal&gt;check&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;pl.project13.maven&lt;/groupId&gt;
                  &lt;artifactId&gt;git-commit-id-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${maven.git.commit.id.version}&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;revision&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
  
                  &lt;configuration&gt;
  
                      &lt;dotGitDirectory&gt;${project.basedir}/.git&lt;/dotGitDirectory&gt;
                      &lt;skipPoms&gt;true&lt;/skipPoms&gt;
                  &lt;/configuration&gt;
  
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
                  &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                   &lt;version&gt;9.4.18.v20190429&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;httpConnector&gt;
                          &lt;port&gt;8080&lt;/port&gt;
                      &lt;/httpConnector&gt;
                      &lt;scanIntervalSeconds&gt;240&lt;/scanIntervalSeconds&gt;
                  &lt;/configuration&gt;
  
              &lt;/plugin&gt;
  
          &lt;/plugins&gt;
      &lt;/build&gt; ```
  </code></pre>