bcdev / jpy

A bi-directional Python-Java bridge used to embed Java in CPython or the other way round.
Apache License 2.0
187 stars 37 forks source link

An error has occurred in JavaDocs report generation #153

Open oum123456789 opened 5 years ago

oum123456789 commented 5 years ago

I try to build a package for windows7, when maven is called, worked fine but when i try genering a javadocs report the build faild , and give me this error:

reference not found @see PyObject#executeCode (String, PyInputMode, Map, Map)

[INFO] Scanning for projects... [INFO] [INFO] ----------------------------< org.jpy:jpy >----------------------------- [INFO] Building Java-Python Bridge 0.9.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] >>> maven-javadoc-plugin:2.9.1:javadoc (default-cli) > generate-sources @ jpy >>> [INFO] [INFO] <<< maven-javadoc-plugin:2.9.1:javadoc (default-cli) < generate-sources @ jpy <<< [INFO] [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:javadoc (default-cli) @ jpy --- [INFO] Loading source files for package org.jpy... Constructing Javadoc information... Standard Doclet version 1.8.0_191 Building tree for all the packages and classes... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\DL.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\KeyError.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyDictWrapper.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyInputMode.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyLib.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyLib.CallableKind.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyLib.Diag.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyModule.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\PyObject.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\StopIteration.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\package-frame.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\package-summary.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\package-tree.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\constant-values.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\serialized-form.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\StopIteration.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyObject.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyModule.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyLib.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyLib.CallableKind.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyLib.Diag.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyInputMode.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\PyDictWrapper.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\KeyError.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\class-use\DL.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\org\jpy\package-use.html... Building index for all the packages and classes... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\overview-tree.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\index-all.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\deprecated-list.html... Building index for all classes... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\allclasses-frame.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\allclasses-noframe.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\index.html... Generating C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs\help-doc.html... 1 error 9 warnings [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.544 s [INFO] Finished at: 2018-10-29T11:07:52+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc (default-cli) on project jpy: An error has occurred in JavaDocs report generation: [ERROR] Exit code: 1 - C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:52: warning: no @param for key [ERROR] public boolean containsKey(String key) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:52: warning: no @return [ERROR] public boolean containsKey(String key) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:69: warning: no @param for key [ERROR] public PyObject get(String key) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:69: warning: no @return [ERROR] public PyObject get(String key) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:81: warning: no @param for key [ERROR] public PyObject putObject(Object key, Object value) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:81: warning: no @param for value [ERROR] public PyObject putObject(Object key, Object value) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyDictWrapper.java:81: warning: no @return [ERROR] public PyObject putObject(Object key, Object value) { [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyInputMode.java:27: error: reference not found [ERROR] * @see PyObject#executeCode(String, PyInputMode, Map, Map) [ERROR] ^ [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyInputMode.java:29: warning - Tag @see: can't find executeCode(String, PyInputMode, Map, Map) in org.jpy.PyObject [ERROR] C:\Users\Oum\Desktop\jpy\src\main\java\org\jpy\PyObject.java:69: warning: no @throws for java.io.FileNotFoundException [ERROR] public static PyObject executeScript(String script, PyInputMode mode) throws FileNotFoundException { [ERROR] ^ [ERROR] [ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_191\jre..\bin\javadoc.exe" -J-Xmx256m @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in 'C:\Users\Oum\Desktop\jpy\doc_static\java-apidocs' dir. [ERROR] [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