首页 新闻 搜索 专区 学院

Java项目打包报错,请问怎么解决,报错如下

0
[待解决问题]

���ڹ��������������...
��������D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\target\apidocs\allclasses-frame.html...
��������D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\target\apidocs\allclasses-noframe.html...
��������D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\target\apidocs\index.html...
��������D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\target\apidocs\overview-summary.html...
��������D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\target\apidocs\help-doc.html...
1 ������
2 ������
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.004 s
[INFO] Finished at: 2022-05-07T17:49:57+08:00
[INFO] Final Memory: 23M/587M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project ureport2-core: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\src\main\java\com\bstek\ureport\build\DesECBUtil.java:26: ����: @throws û��˵��
[ERROR] * @throws Exception
[ERROR] ^
[ERROR] D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\src\main\java\com\bstek\ureport\build\DesECBUtil.java:67: ����: @throws û��˵��
[ERROR] * @throws Exception
[ERROR] ^
[ERROR] D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\src\main\java\com\bstek\ureport\build\DesECBUtil.java:14: ����: δ֪���: date
[ERROR] * @date 2016��6��15�� ����10:02:50
[ERROR] ^
[ERROR]
[ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_91\jre..\bin\javadoc.exe" @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'D:\ProjectFile\DW_guochanhua\g3-asset-server\branches\g3-asset-server-guochanhua\components\g3-report-starter\ureport2-core\target\apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

白鲟的主页 白鲟 | 初学一级 | 园豆:33
提问于:2022-05-07 17:58
< >
分享
所有回答(2)
0

Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin
这个日志已经显示了问题点
估计是注释写的不符合要求,可以不走这个步骤看看

2012 | 园豆:21058 (高人七级) | 2022-05-09 16:18

"可以不走这个步骤看看"指的哪个步骤?

支持(0) 反对(0) 白鲟 | 园豆:33 (初学一级) | 2022-05-09 17:47

@白鲟: 比如单纯的命令 mvn compile -DskipTests 等等

支持(0) 反对(0) 2012 | 园豆:21058 (高人七级) | 2022-05-10 08:24
0

更换maven版本试试

zzqcoder | 园豆:202 (菜鸟二级) | 2022-05-09 17:14

好的,我试试

支持(0) 反对(0) 白鲟 | 园豆:33 (初学一级) | 2022-05-09 17:47
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册