首页 新闻 会员 周边 捐助

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

0
[已解决问题] 解决于 2024-02-02 09:25

���ڹ��������������...
��������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

白鲟的主页 白鲟 | 初学一级 | 园豆:29
提问于:2022-05-07 17:58
< >
分享
最佳答案
0

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

奖励园豆:5
2012 | 高人七级 |园豆:21445 | 2022-05-09 16:18

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

白鲟 | 园豆:29 (初学一级) | 2022-05-09 17:47

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

2012 | 园豆:21445 (高人七级) | 2022-05-10 08:24
其他回答(3)
0

更换maven版本试试

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

好的,我试试

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

建议将maven编码以及IDE编码都设置为utf-8。
-Dfile.encoding=UTF-8

freerPolymer | 园豆:219 (菜鸟二级) | 2022-08-16 21:59
0

白鲟 | 园豆:29 (初学一级) | 2024-02-02 09:24
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册