Springboot热部署配置

添加依赖包:

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

编译配置里添加配置

<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>

  

有任何需要沟通交流的联系QQ群:276483863 加好友备注【博客园技术交流】
原文地址:https://www.cnblogs.com/JoePotter/p/14457473.html