mvn site 报错
程序员文章站
2022-07-15 12:46:57
...
运行出现 java.lang.NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent错误
看警告
[WARNING] Report plugin org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
在pom.xml中添加该插件后,问题解决
<build>
<plugins>
<!-- 添加该插件后,上述问题解决 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
<locales>zh_CN</locales>
</configuration>
</plugin>
</plugins>
</build>
上一篇: 2020年云计算的发展与应用现状
下一篇: 使用mvn打包报错
推荐阅读
-
服务器限制外网访问报错主动推送失败怎么办
-
ubuntu vps安装docker报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock.问题解决
-
主动报错的电脑启动故障现象分析
-
在vue中解决提示警告 for循环报错的方法
-
eclipse导入jquery包后报错的解决方法
-
安装完torch geometric,import torch_geometric然后报错:OSError: [WinError 127] 找不到指定的模块
-
惠普打印机报错Page Too Complex该怎么办?
-
AngularJS 使用ng-repeat报错 [ngRepeat:dupes]
-
详解Vue.js搭建路由报错 router.map is not a function
-
mysql报错:Deadlock found when trying to get lock; try restarting transaction的解决方法