springboot articles] eleven. springboot hot deployment in two ways

springboot hot deployment in two ways

Come on, China, Wuhan Come on!

Project Preparation

  1. Just create a new project springboot

1. Automatic hot deployment

1.1 On its dependencies

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-devtools</artifactId>
</dependency>

1.2 plug-in configuration

<configuration>
	<fork>true</fork>
</configuration>
<build>
	<plugins>
		<plugin>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-maven-plugin</artifactId>
			<configuration>
				<fork>true</fork>
			</configuration>
		</plugin>
	</plugins>
</build>

1.3 setting is set to automatically compile the project

Here Insert Picture Description

ctrl + alt + shift + / Click Registry

Here Insert Picture Description

2. Manual hot deployment

2.1 rely guide

With automatic hot deployment

2.2 plug-in configuration

With automatic hot deployment

2.3 Set Configurations

Here Insert Picture Description
Here Insert Picture Description

Published 56 original articles · won praise 11 · views 4072

Guess you like

Origin blog.csdn.net/TheNew_One/article/details/104400040