简体   繁体   中英

Generated javadoc but index.html gone weird

I'm using Eclipse and I generated a javadoc with it, but when I open index.htmlm this is all I get:

Generated Documentation (Untitled) targetPage = "" + window.location.search; if (targetPage != "" && targetPage != "undefined") targetPage = targetPage.substring(1); if (targetPage.indexOf(":") != -1) targetPage = "undefined"; function loadFrames() { if (targetPage != "" && targetPage != "undefined") top.classFrame.location = top.targetPage; }

I tried to do it from the command line too, but it gives this error about javadoc:

javadoc -sourcepath sourcepath -d destpath

How can I generate a javadoc?

尝试使用Eclipse重新生成javadoc,并且需要来自JDK的JavaDoc命令在PATH中确定,所以一切正常。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM