Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar

Hadoop Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar

原创  2017年03月23日 21:36:04
  • 2178



[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project ytk-learn: 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:1241)
[ERROR]         at sun.misc.URLClassPath$3.run(URLClassPath.java:560)
[ERROR]         at sun.misc.URLClassPath$3.run(URLClassPath.java:555)
[ERROR]         at java.security.AccessController.doPrivileged(Native Method)
[ERROR]         at sun.misc.URLClassPath.getLoader(URLClassPath.java:554)
[ERROR]         at sun.misc.URLClassPath.getLoader(URLClassPath.java:519)
[ERROR]         at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:484)
[ERROR]         at sun.misc.URLClassPath.access$100(URLClassPath.java:65)

---

---

---

[ERROR] javadoc: 错误 - java.lang.IllegalArgumentException                                                                                                                                                                             
[ERROR]
[ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_151_64\jre\..\bin\javadoc.exe" @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'F:\machinelearning\code\ytk-learn\target\apidocs' dir.


解决方案:

命令行mvn clean install  -DskipTests  -Dmaven.javadoc.skip=true 

你可能感兴趣的:(IDE)