SpringBoot Day4: dev tool & JAR

Arthur Lee
2 min readFeb 25, 2019

--

Sometimes, we prefer to code and debug at the same time without building because building time costs too much.

In that, we can use Devtools, which allows reloading of the application context while the application is running and triggered from classpath changes

It is only for development purposes

Add the devtools dependency

Check the IDE Registry

Change the preference

Besides, we will talk about package

There are two options: JAR (default) and WAR

JAR

It is default

It is fat (not only source code but also all dependency)

executable

WAR

--

--

Arthur Lee
Arthur Lee

Written by Arthur Lee

An machine learning engineer in Bay Area in the United States

No responses yet