【maven】在IDEA上 使用maven進行打包時報錯:Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.

報錯內容以下:java

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.095 s
[INFO] Finished at: 2018-10-24T09:23:56+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project tx-client: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\src\main\java\com\codingapi\tx\annotation\TxTransaction.java:37: ����: @return û��˵��
[ERROR]      * @return
[ERROR]        ^
[ERROR] D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\src\main\java\com\codingapi\tx\annotation\TxTransaction.java:31: ����: @return û��˵��
[ERROR]      * @return
[ERROR]        ^
[ERROR] D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\src\main\java\com\codingapi\tx\annotation\TxTransaction.java:47: ����: û�� @return
[ERROR]     boolean readOnly() default false;
[ERROR]             ^
[ERROR] D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\src\main\java\com\codingapi\tx\annotation\TxTransaction.java:24: ����: @return û��˵��
[ERROR]      * @return
[ERROR]        ^
[ERROR] D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\src\main\java\com\codingapi\tx\Constants.java:20: ����: ��ʽ����� HTML
[ERROR]      * ������һ��Ҫ�� @Transaction �������㣨ASPECT_ORDER С�� <tx:annotation-driven>��ǩ�е�order ��
[ERROR]                                                   ^
[ERROR] D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\src\main\java\com\codingapi\tx\Constants.java:20: ����: '>' ���÷�����
[ERROR]      * ������һ��Ҫ�� @Transaction �������㣨ASPECT_ORDER С�� <tx:annotation-driven>��ǩ�е�order ��
[ERROR]                                                                        ^
[ERROR] 
[ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_171\jre\..\bin\javadoc.exe" @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in 'D:\document\IdeaProjects\myTestDocument\tx-lcn-master\tx-client\target\apidocs' dir.
[ERROR] 
[ERROR] -> [Help 1]

 

解決方案:apache

打開終端,【前提是你的環境裝了maven】api

 

命令執行:maven

mvn clean install  -DskipTests  -Dmaven.javadoc.skip=true

 

 

 便可所有打包完成!!!spa

若是有別的問題 能夠依次解決完成後,再執行這個命令進行打包!!3d

相關文章
相關標籤/搜索