No need to mention the absolute path. See my package and class structure below. From a sister package if I follow the URI rules I do a ..
to go one folder back and mention it like this. It works! On clicking the url the file opens. Although I have illustrated this in eclipse, I think this should be IDE agnostic.
/**
* Removes all the stop words like a, for, the etc. from the text. For a
* full list of stop words check
* <a href="file:../resources/stopWords.txt">/resources/stopWords.txt</a>
*
* @return String free of all the stop-words
* @param text
* The string to be cleaned, do null check at your end
*/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…