2018-11-29 11:05:19 453浏览
今天扣丁学堂Java培训老师给大家介绍一下关于日常开发中springBoot项目启动类启动无法访问的解决方法和源码,下面我们一起来看一下吧。
<dependencies>
xxxxxxxxxxxx
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugins>
<finalName>robot</finalName>
<resources>
<resource>
<directory>src/main/webapp</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
</project>
【关注微信公众号获取更多学习资料】