Access the full course here: javabrains.io/courses/spring_bootquickstart
Learn how to package and run your Spring Boot application as a JAR file, and also if necessary, as a WAR file.
9 Comments on "Spring Boot Quick Start 32 – Packaging and running a Spring Boot app"
As a side noteTo package with Maven it would be enough to execute:> mvn clean packageExecuting "mvn install" it of course makes a package too, but also after packaging installs the artifact to the local Maven repository ( ~/.m2 by default), which is kind of unnecessary in this case.P.S.Very nice course by the way ))
Thank you !
this is sexy
Thanks Amogh! It didn't work for me. I get this error after trying so many commands[WARNING] The requested profile "dev1" could not be activated because it does not exist.
Everything worked fine until video number 31 but i could not run these commands on terminal
i get the message mvn command not found on mac
You can install maven via brew, that worked for me
it's because you don't have maven added to your profile. just do a google search and should be able to add. It's same way java and javac needs to be in your classpath. Hope this helps
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.