title: Spring Boot Error - No factories configured for this application
body: <p>I am getting an IllegalStateException saying that I have "No factories configured for this application."  This error happens when I try to run my application from the command line.  I can run this from within the Eclipse IDE with no errors.  It seems to only affect the JSF portions as this application also has some REST controllers that still function even when the JSF part fails.</p>
  
  <p>This is the output from my log file:</p>
  
  <pre><code>"2017-08-26 07:47:48 [main] INFO  c.t.Ticketbot1ApplicationTests - Starting 
  
  Ticketbot1ApplicationTests on DESKTOP-TR95CNM with PID 7248 (started by James in C:\Users\James\Documents\workspace-sts-3.9.0.RELEASE\ticketbot-1)
  ""2017-08-26 07:47:48 [main] DEBUG c.t.Ticketbot1ApplicationTests - Running with Spring Boot v1.5.2.RELEASE, Spring v4.3.7.RELEASE
  ""2017-08-26 07:47:48 [main] INFO  c.t.Ticketbot1ApplicationTests - No active profile set, falling back to default profiles: default
  ""2017-08-26 07:47:49 [main] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  ""2017-08-26 07:47:49 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$46fb3533] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  ""2017-08-26 07:47:57 [main] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Building JPA container EntityManagerFactory for persistence unit 'default'
  ""2017-08-26 07:47:57 [main] INFO  o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [
      name: default
      ...]
  ""2017-08-26 07:47:57 [main] INFO  org.hibernate.Version - HHH000412: Hibernate Core {5.0.12.Final}
  ""2017-08-26 07:47:57 [main] INFO  org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found
  ""2017-08-26 07:47:57 [main] INFO  org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist
  ""2017-08-26 07:47:57 [main] INFO  o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  ""2017-08-26 07:47:58 [main] INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.SQLServer2012Dialect
  ""2017-08-26 07:47:59 [main] INFO  o.h.tool.hbm2ddl.SchemaUpdate - HHH000228: Running hbm2ddl schema update
  ""2017-08-26 07:48:03 [main] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
  ""2017-08-26 07:48:04 [main] INFO  c.t.Ticketbot1ApplicationTests - Started Ticketbot1ApplicationTests in 16.959 seconds (JVM running for 17.665)
  ""2017-08-26 07:48:04 [Thread-3] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
  ""2017-08-26 07:48:32 [main] INFO  com.ticketbot.Ticketbot1Application - Starting Ticketbot1Application v0.0.1-SNAPSHOT on DESKTOP-TR95CNM with PID 8056 (C:\Users\James\Documents\workspace-sts-3.9.0.RELEASE\ticketbot-1\target\ticketbot.jar started by James in C:\Users\James\Documents\workspace-sts-3.9.0.RELEASE\ticketbot-1\target)
  ""2017-08-26 07:48:32 [main] DEBUG com.ticketbot.Ticketbot1Application - Running with Spring Boot v1.5.2.RELEASE, Spring v4.3.7.RELEASE
  ""2017-08-26 07:48:32 [main] INFO  com.ticketbot.Ticketbot1Application - No active profile set, falling back to default profiles: default
  ""2017-08-26 07:48:32 [main] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6e5e91e4: startup date [Sat Aug 26 07:48:32 CDT 2017]; root of context hierarchy
  ""2017-08-26 07:48:33 [main] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  ""2017-08-26 07:48:33 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$984f17d1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  ""2017-08-26 07:48:34 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 8080 (http)
  ""2017-08-26 07:48:34 [main] INFO  o.a.catalina.core.StandardService - Starting service Tomcat
  ""2017-08-26 07:48:34 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.11
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  org.apache.jasper.servlet.TldScanner - At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'facesServlet' to [*.jsf]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'rewriteFilter' to urls: [/*]
  ""2017-08-26 07:48:36 [localhost-startStop-1] WARN  o.a.m.w.AbstractFacesInitializer - No mappings of FacesServlet found. Abort initializing MyFaces.
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  o.a.m.w.StartupServletContextListener - MyFaces Core has started, it took [73] ms.
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - RewriteFilter starting up...
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [4] org.ocpsoft.rewrite.servlet.spi.RewriteLifecycleListener [org.ocpsoft.rewrite.prettyfaces.PrettyFacesRewriteLifecycleListener&lt;-100&gt;, org.ocpsoft.rewrite.faces.FacesRewriteLifecycleListener&lt;0&gt;, org.ocpsoft.rewrite.servlet.config.lifecycle.JoinRewriteLifecycleListener&lt;2147483647&gt;, org.ocpsoft.rewrite.servlet.impl.DefaultRewriteLifecycleListener&lt;2147483647&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.servlet.spi.RequestCycleWrapper [org.ocpsoft.rewrite.servlet.impl.HttpRewriteRequestCycleWrapper&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.spi.RewriteProvider [org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.servlet.spi.RewriteResultHandler [org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.servlet.spi.InboundRewriteProducer [org.ocpsoft.rewrite.servlet.impl.HttpInboundRewriteProducer&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.servlet.spi.OutboundRewriteProducer [org.ocpsoft.rewrite.servlet.impl.HttpOutboundRewriteProducer&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.servlet.spi.ContextListener [org.ocpsoft.rewrite.prettyfaces.PrettyConfigContextListener&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [0] org.ocpsoft.rewrite.servlet.spi.RequestListener []
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.servlet.spi.RequestParameterProvider [org.ocpsoft.rewrite.prettyfaces.PrettyFacesRequestParameterProvider&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider [org.ocpsoft.rewrite.faces.FacesExpressionLanguageProvider&lt;30&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.spi.InvocationResultHandler [org.ocpsoft.rewrite.faces.NavigatingInvocationResultHandler&lt;100&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [0] org.ocpsoft.common.spi.ServiceEnricher []
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.spi.ConfigurationCacheProvider [org.ocpsoft.rewrite.servlet.impl.ServletContextConfigurationCacheProvider&lt;0&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [2] org.ocpsoft.rewrite.config.ConfigurationProvider [org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider&lt;100&gt;, org.ocpsoft.rewrite.prettyfaces.PrettyFacesRewriteConfigurationProvider&lt;1&gt;]
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Loaded [0] org.ocpsoft.rewrite.spi.RuleCacheProvider []
  ""2017-08-26 07:48:36 [localhost-startStop-1] WARN  unknown.jul.logger - Cannot find classes folder: /WEB-INF/classes/
  ""2017-08-26 07:48:36 [localhost-startStop-1] INFO  unknown.jul.logger - Rewrite 3.4.1.Final initialized.
  ""2017-08-26 07:48:45 [main] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Building JPA container EntityManagerFactory for persistence unit 'default'
  ""2017-08-26 07:48:45 [main] INFO  o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [
      name: default
      ...]
  ""2017-08-26 07:48:45 [main] INFO  org.hibernate.Version - HHH000412: Hibernate Core {5.0.12.Final}
  ""2017-08-26 07:48:45 [main] INFO  org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found
  ""2017-08-26 07:48:45 [main] INFO  org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist
  ""2017-08-26 07:48:45 [main] INFO  o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  ""2017-08-26 07:48:45 [main] INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.SQLServer2012Dialect
  ""2017-08-26 07:48:47 [main] INFO  o.h.tool.hbm2ddl.SchemaUpdate - HHH000228: Running hbm2ddl schema update
  ""2017-08-26 07:48:51 [main] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
  ""2017-08-26 07:48:53 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
  ""2017-08-26 07:48:53 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): 8080 (http)
  ""2017-08-26 07:48:53 [main] INFO  com.ticketbot.Ticketbot1Application - Started Ticketbot1Application in 21.55 seconds (JVM running for 22.108)
  ""2017-08-26 07:49:00 [http-nio-8080-exec-1] INFO  o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring FrameworkServlet 'dispatcherServlet'
  ""2017-08-26 07:49:00 [http-nio-8080-exec-1] WARN  unknown.jul.logger - Could not determine project stage due to underlying exception.
  "java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
  If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
  A typical config looks like this;
  &lt;listener&gt;
    &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  
      at javax.faces.FactoryFinder._getFactory(FactoryFinder.java:305)
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:225)
      at com.ocpsoft.pretty.faces.util.FacesFactory.getApplication(FacesFactory.java:30)
      at com.ocpsoft.pretty.faces2.config.reload.JSF2DevelopmentModeDetector.isDevelopmentMode(JSF2DevelopmentModeDetector.java:44)
      at com.ocpsoft.pretty.faces.config.reload.PrettyConfigReloader.isDevelopmentModeActive(PrettyConfigReloader.java:129)
      at com.ocpsoft.pretty.faces.config.reload.PrettyConfigReloader.reloadIfNecessary(PrettyConfigReloader.java:62)
      at org.ocpsoft.rewrite.prettyfaces.PrettyFacesRewriteLifecycleListener.beforeInboundLifecycle(PrettyFacesRewriteLifecycleListener.java:51)
      at org.ocpsoft.rewrite.prettyfaces.PrettyFacesRewriteLifecycleListener.beforeInboundLifecycle(PrettyFacesRewriteLifecycleListener.java:34)
      at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:185)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Unknown Source)
  "2017-08-26 07:49:01 [http-nio-8080-exec-1] INFO  unknown.jul.logger - Loaded [1] org.ocpsoft.rewrite.spi.GlobalParameterProvider [org.ocpsoft.rewrite.instance.WildcardParameterProvider&lt;0&gt;]
  ""2017-08-26 07:49:11 [Thread-4] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6e5e91e4: startup date [Sat Aug 26 07:48:32 CDT 2017]; root of context hierarchy
  ""2017-08-26 07:49:11 [Thread-4] INFO  o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
  ""2017-08-26 07:49:11 [Thread-4] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
  "
  </code></pre>
  
  <p>I have searched for all instances of this error on StackOverflow and haven't found a solution that worked yet.</p>
  
  <p>My POM</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/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.ticketbot&lt;/groupId&gt;
      &lt;artifactId&gt;ticketbot&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;ticketbot&lt;/name&gt;
      &lt;description&gt;Ticket Bot REST API&lt;/description&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;1.5.6.RELEASE&lt;/version&gt;
          &lt;relativePath /&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
  
      &lt;properties&gt;
  &lt;!--        &lt;start-class&gt;com.ticketbot.Application&lt;/start-class&gt; --&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&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;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-validation&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.microsoft.sqlserver&lt;/groupId&gt;
              &lt;artifactId&gt;mssql-jdbc&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;dependency&gt;
              &lt;groupId&gt;org.apache.myfaces.core&lt;/groupId&gt;
              &lt;artifactId&gt;myfaces-impl&lt;/artifactId&gt;
              &lt;version&gt;2.2.12&lt;/version&gt;
  
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.myfaces.core&lt;/groupId&gt;
              &lt;artifactId&gt;myfaces-api&lt;/artifactId&gt;
              &lt;version&gt;2.2.12&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
              &lt;artifactId&gt;tomcat-embed-jasper&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.ocpsoft.rewrite&lt;/groupId&gt;
              &lt;artifactId&gt;rewrite-servlet&lt;/artifactId&gt;
              &lt;version&gt;3.4.1.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.ocpsoft.rewrite&lt;/groupId&gt;
              &lt;artifactId&gt;rewrite-integration-faces&lt;/artifactId&gt;
              &lt;version&gt;3.4.1.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.ocpsoft.rewrite&lt;/groupId&gt;
              &lt;artifactId&gt;rewrite-config-prettyfaces&lt;/artifactId&gt;
              &lt;version&gt;3.4.1.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.primefaces&lt;/groupId&gt;
              &lt;artifactId&gt;primefaces&lt;/artifactId&gt;
              &lt;version&gt;6.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
              &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
              &lt;version&gt;2.2.12&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;outputDirectory&gt;src/main/webapp/WEB-INF/classes&lt;/outputDirectory&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
  
                  &lt;/configuration&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;/plugins&gt;
          &lt;finalName&gt;${project.artifactId}&lt;/finalName&gt;
      &lt;/build&gt;
  
  
  &lt;/project&gt;
  </code></pre>
  
  <p>web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="3.1"&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.request.RequestContextListener&lt;/listener-class&gt;
      &lt;/listener&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>faces-config.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
           http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd" 
              version="2.2"&gt;
      &lt;application&gt;
          &lt;el-resolver&gt;org.springframework.web.jsf.el.SpringBeanFacesELResolver&lt;/el-resolver&gt;
      &lt;/application&gt;
  &lt;/faces-config&gt;
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>I noticed that, for some reason, a portion of the message that shows in the command prompt is not showing in the log file.  This error seems to stem from <code>tomcat-embed-core-8.5.16.jar</code> .  I am enclosing a screen-shot of the error to show what I mean.</p>
  
  <p><a href="https://i.stack.imgur.com/RSRAy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RSRAy.png" alt="Screen Capture of Error Message"></a></p>