正确生成:在所写项目右击----Export----Java----javadoc---next ----一直next---finish。
乱码时:1)右击----Export----Java----javadoc---next--出现下面界面
2)一直next ----如下图输入:javadoc -encoding UTF-8 -charset UTF-8