使用maven打war包时出现的,包打成功后无法访问

[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.datagear:datagear-web:war:2.11.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 236, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.datagear:datagear:2.11.0, C:\Users\Administrator\Desktop\武祥飞\可视化系统\datagear-master\pom.xml, line 78, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.datagear:datagear:2.11.0, C:\Users\Administrator\Desktop\武祥飞\可视化系统\datagear-master\pom.xml, line 86, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 134, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 180, column 12
[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 145, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

你的pom.xml里面spring-boot-maven-plugin给他指定一个合适的版本,比如

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <version>2.2.6.RELEASE</version>
</plugin>

然后刷新maven,等待依赖下载完毕,点击clean,然后再进行package