NutzCN Logo
问答 nutz项目根目录执行 install,产生MavenReportException: Error while generating Javadoc错误
发布于 2172天前 作者 qq_1741ed83 2942 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

[INFO] Scanning for projects...
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3-SNAPSHOT/maven-metadata.xml (598 B at 811 B/s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] [INFO] NutzWk-NB [pom] [INFO] wk-framework [jar] [INFO] wk-app [pom] [INFO] wk-model [jar] [INFO] wk-common [jar] [INFO] wk-nb-service-sys [jar] [INFO] wk-nb-service-cms [jar] [INFO] wk-nb-service-wx [jar] [INFO] wk-nb-web-platform [jar] [INFO] wk-nb-web-api [jar] [INFO] wk-nb-task [jar] [INFO] wk-nb-web-vue [jar] [INFO] wk-wiki [pom] [INFO]
[INFO] ------------------------< cn.wizzer:wk-parent >-------------------------
[INFO] Building NutzWk-NB 5.1.1 [1/13] [INFO] --------------------------------[ pom ]---------------------------------
[INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-parent ---
[INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (default) > generate-sources @ wk-parent >>>
[INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (default) < generate-sources @ wk-parent <<<
[INFO] [INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (default) @ wk-parent ---
[INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ wk-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-parent ---
[INFO] Installing E:\nutzbook\workspace\NutzWk\pom.xml to E:\Maven\repository\cn\wizzer\wk-parent\5.1.1\wk-parent-5.1.1.pom
[INFO] [INFO] -----------------------< cn.wizzer:wk-framework >-----------------------
[INFO] Building wk-framework 5.1.1 [2/13] [INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-nutz-dao/2.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-nutz-dao/2.3-SNAPSHOT/maven-metadata.xml (993 B at 6.7 kB/s)
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter/2.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter/2.3-SNAPSHOT/maven-metadata.xml (599 B at 4.4 kB/s)
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.67-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.67-SNAPSHOT/maven-metadata.xml (1.2 kB at 6.9 kB/s)
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.67-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.67-SNAPSHOT/maven-metadata.xml (597 B at 3.3 kB/s)
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.67-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.67-SNAPSHOT/maven-metadata.xml (1.2 kB at 7.0 kB/s)
[INFO] Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-core/2.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-core/2.3-SNAPSHOT/maven-metadata.xml (981 B at 5.5 kB/s)
[INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-framework ---
[INFO] Deleting E:\nutzbook\workspace\NutzWk\wk-framework\target
[INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\nutzbook\workspace\NutzWk\wk-framework\src\main\resources
[INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ wk-framework ---
[INFO] Compiling 10 source files to E:\nutzbook\workspace\NutzWk\wk-framework\target\classes
[INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (default) > generate-sources @ wk-framework >>>
[INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (default) < generate-sources @ wk-framework <<<
[INFO] [INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (default) @ wk-framework ---
[INFO] Building jar: E:\nutzbook\workspace\NutzWk\wk-framework\target\wk-framework-5.1.1-sources.jar
[INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ wk-framework ---
[INFO] Building jar: E:\nutzbook\workspace\NutzWk\wk-framework\target\wk-framework-5.1.1.jar
[INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ wk-framework ---
[INFO]
���ڼ��س����cn.wizzer.framework.base.model��Դ�ļ�...
���ڼ��س����cn.wizzer.framework.base��Դ�ļ�...
���ڼ��س����cn.wizzer.framework.base.service��Դ�ļ�...
���ڼ��س����cn.wizzer.framework.page.datatable��Դ�ļ�...
���ڼ��س����cn.wizzer.framework.page��Դ�ļ�...
���ڹ��� Javadoc ��Ϣ...
��׼ Doclet �汾 1.8.0_192
���ڹ������г�����������...
��������E:\nutzbook\workspace\NutzWk\wk-framework\target\apidocs\cn\wizzer\framework\base\model\BaseModel.html...
1 ������
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] [INFO] NutzWk-NB 5.1.1 .................................... SUCCESS [ 1.924 s] [INFO] wk-framework ....................................... FAILURE [ 5.560 s] [INFO] wk-app ............................................. SKIPPED
[INFO] wk-model ........................................... SKIPPED
[INFO] wk-common .......................................... SKIPPED
[INFO] wk-nb-service-sys .................................. SKIPPED
[INFO] wk-nb-service-cms .................................. SKIPPED
[INFO] wk-nb-service-wx ................................... SKIPPED
[INFO] wk-nb-web-platform ................................. SKIPPED
[INFO] wk-nb-web-api ...................................... SKIPPED
[INFO] wk-nb-task ......................................... SKIPPED
[INFO] wk-nb-web-vue ...................................... SKIPPED
[INFO] wk-wiki 5.1.1 ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.378 s
[INFO] Finished at: 2018-12-05T10:13:50+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project wk-framework: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - java.lang.IllegalArgumentException
[ERROR] at sun.net.www.ParseUtil.decode(ParseUtil.java:202)
[ERROR] at sun.misc.URLClassPath$FileLoader.(URLClassPath.java:1293)
[ERROR] at sun.misc.URLClassPath$3.run(URLClassPath.java:570)
[ERROR] at sun.misc.URLClassPath$3.run(URLClassPath.java:565)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at sun.misc.URLClassPath.getLoader(URLClassPath.java:564)
[ERROR] at sun.misc.URLClassPath.getLoader(URLClassPath.java:529)
[ERROR] at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:494)
[ERROR] at sun.misc.URLClassPath.access$100(URLClassPath.java:66)
[ERROR] at sun.misc.URLClassPath$1.next(URLClassPath.java:276)
[ERROR] at sun.misc.URLClassPath$1.hasMoreElements(URLClassPath.java:287)
[ERROR] at java.net.URLClassLoader$3$1.run(URLClassLoader.java:604)
[ERROR] at java.net.URLClassLoader$3$1.run(URLClassLoader.java:602)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader$3.next(URLClassLoader.java:601)
[ERROR] at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:626)
[ERROR] at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)
[ERROR] at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)
[ERROR] at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:354)
[ERROR] at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393)
[ERROR] at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)
[ERROR] at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:293)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)
[ERROR] at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)
[ERROR] at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)
[ERROR] at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.parseXML(LayoutParser.java:89)
[ERROR] at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:120)
[ERROR] at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:189)
[ERROR] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:194)
[ERROR] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:139)
[ERROR] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82)
[ERROR] at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80)
[ERROR] at com.sun.tools.doclets.standard.Standard.start(Standard.java:39)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
[ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:219)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:205)
[ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:64)
[ERROR] at com.sun.tools.javadoc.Main.main(Main.java:54)
[ERROR] javadoc: ���� - java.lang.IllegalArgumentException
[ERROR] [ERROR] Command line was: E:\JDK\Java\jdk1.8.0_192\jre..\bin\javadoc.exe @options @packages
[ERROR] [ERROR] Refer to the generated Javadoc files in 'E:\nutzbook\workspace\NutzWk\wk-framework\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
[ERROR] [ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :wk-framework

1 回复

像是编码问题呀, 是不是没设置为UTF8呢?

添加回复
请先登陆
回到顶部