Skip to content

JSF integration does not work when running the final jar outside the project folder #3

@heapifyman

Description

@heapifyman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions