“This element has no attached source and the Javadoc could not be found in the attached Javadoc.”

Rajat Jadam
Sep 9, 2018 · 1 min read

In case of:-

“Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc.”

  1. Press Cltrl and click on the word ,which you want to see the javadoc.If This error come,Than you are at the right place.
Javadoc not attached.

2. Click on attach source.

3. Select External location and click on External file.

4. Set file to src located in jdk of your java.(in my case C:\Program Files (x86)\Java\jdk1.8.0_141\src . In your case it can be at different place).

5. Than Click OK.

We Are Done!!!! Happy CODING

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade