Skip to content

Possible bug during executable .war file creation with spring-boot-maven-plugin #10232

@ton3r

Description

@ton3r

I've tested to set up JSF (Mojarra) with the currently Spring-Boot (1.5.6.RELEASE) and try to create an executable .war file with spring-boot-maven-plugin and the repackage goal.

The problem is that the application within this .war starts up but got problem to initialze. After some days of tests and tests and debug, I finally switch down the Spring-Boot Releases step by step and the last working Version for "executable .war Files" is 1.5.2.

Currently I can't find the final error/bug/reason for this behavior.

I have forked a JSF/SpringBoot Demonstration and set it up with Version 1.5.3.RELEASE

If you follow the instructions (simple mvn clean install spring-boot:repackage) and try to execute it with java -jar you will see the error. Change in pom to a lower version and it runs perfectly.

https://github.com/ton3r/Spring-Boot-JSF-Example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions