Javadoc error - java.lang.reflect.InvocationTargetException

你说的曾经没有我的故事 提交于 2019-12-05 18:19:12
SamV

@codeblues and @Grant M, I just noticed this question. I am the author of that blog post Grant M mentioned. I just tried my instructions again, I am getting Javadoc with UML diagram as expected.

To me, this sounds like a version mismatch between JDK (and JavaDoc)and Ydoc.jar. Javadoc related classes are in a jar called tools.jar in jdk\lib folder. You may want to check your classpath to see if it includes the right JDK. You can probably try which javadoc on *nix (or "where javadoc" on Win 7+ to find out the JDK location used).

The mention "Unknown source' in your exception seems to indicate you are pointing to JRE instead of JDK?? Also, see this Stackoverflow post about "(unknown source)" in Java Exceptions.

I hope you can get this to work, to see the UMLs jump into your Javadoc!

HTH

Sam

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!