英文:
How to make JavaDoc link to JDK's documentation in Intellj IDEA
问题
I'm generating javadoc of my Java project in Intellj IDEA, and I want it to link into the JDK's documentation.
I'm generating the documentation using Tools > Generate JavaDoc...
.
I've tried to add my extracted jdk java in File > Project Structure > Platform Settings > SDKs > 13 > Documentation Paths
But it always results with this error:
...
Constructing Javadoc information...
javadoc: error - Error fetching URL: file://C:/Users/Rami/Documents/Documentation/jdk-13.0.2_doc-all/docs/api/
Standard Doclet version 13.0.2
...
And the generated documentation doesn't link to my local JDK javadoc...
What do I have configured wrong?
英文:
I'm generating javadoc of my Java project in Intellj IDEA, and I want it to link into the JDK's documentation.
I'm generating the documentation using Tools > Generate JavaDoc...
.
I've tried to add my extracted jdk java in File > Project Structure > Platform Settings > SDKs > 13 > Documentation Paths
But it always results with this error:
...
Constructing Javadoc information...
javadoc: error - Error fetching URL: file://C:/Users/Rami/Documents/Documentation/jdk-13.0.2_doc-all/docs/api/
Standard Doclet version 13.0.2
...
And the generated documentation doesn't link to my local JDK javadoc...
What do I have configured wrong?
答案1
得分: 1
我通过运行本地HTTP服务器,并将Javadoc链接到localhost来解决了这个问题。
英文:
I've solved the issue by running a local HTTP server, and linking the Javadoc with localhost.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论