spring boot does not include the complete webapp folder in the final jar artifact - .xhtml files are excluded
if you run ./gradlew assemble, then copy build/lib/Spring-Boot-JSF-Example.jar to some place outside the project folder and then run: java -jar Spring-Boot-JSF-Example.jar accessing http://localhost:8080/test.xhtml will produce an error
spring boot does not include the complete webapp folder in the final jar artifact -
.xhtmlfiles are excludedif you run
./gradlew assemble, then copybuild/lib/Spring-Boot-JSF-Example.jarto some place outside the project folder and then run:java -jar Spring-Boot-JSF-Example.jaraccessinghttp://localhost:8080/test.xhtmlwill produce an error