How to create Executable JAR of an Spring boot Application - Spring boot

preview_player
Показать описание
In this video some one can learn how to create an executable jar of spring boot or any other java applications, either using eclipse, spring tool suits or using maven command.

Here I have explained four ways to create an executable jar of spring boot application

1. mvnw package
2. mvn package
3. mvn -e clean package spring-boot:repackage
4. Using eclipse/STS

If you like this video please dont forget too subscribe and like.

Рекомендации по теме
Комментарии
Автор

I am able to create an executable JAR that runs on my pc, but does not run on another system

ChetanRawattunein
Автор

[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

atulsingh