"how to solve “this element has no attached source and the javadoc could not be found in the attached javadoc”?" Code Answer


this is for a jar on your classpath in eclipse, where you have

  1. attached a javadoc zip which eclipse for some reason dislikes.

  2. not attached a valid source jar.

the easiest way is to right-click the jar in question (in the referenced jars, not the physical jar) and choose preferences -> javadoc. here give a correct location (zip/url) to the correct javadoc. remember to use the "validate" button to ensure that it is correctly set up.

By ramya jesu on March 16 2022
Only authorized users can answer the Search term. Please sign in first, or register a free account.