Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make war executable #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

make war executable #7

wants to merge 1 commit into from

Conversation

press0
Copy link

@press0 press0 commented Nov 25, 2018

According to these fine spring boot docker articles:

the war file in the spring-boot-app module should be executable but it is not:

$ java -Dspring.profiles.active=default -jar target/spring-boot-app-0.0.1-SNAPSHOT.war
no main manifest attribute, in target/spring-boot-app-0.0.1-SNAPSHOT.war

According to these fine spring boot docker articles:

 - https://stackify.com/guide-docker-java/
 - https://stackify.com/spring-boot-level-up/

the war should be executable:

> java -Dspring.profiles.active=default -jar target/spring*.war
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant