看板 AndroidDev 關於我們 聯絡資訊
我再project中匯入了Jsoup.jar 但是一直出現問題,將滑鼠指到程式中 Document contentDoc = Jsoup.connect(url).get(); 的Jsoup上面,會出現 Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found. 可是我的 Reference Libraries明明就有 Jsoup-1.6.3.jar、Jsoup-1.6.3-javasoc.jar 每次執行到有Jsoup的地方就會crash,然後就跳出 source not found: the source attachment does not contain the source InovationTargetException.class 請問該怎麼解決這個問題? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 1.161.198.25
ivanf10710:這是我不管怎麼add to build path 都會出現 attachment 08/08 13:02
ivanf10710:都會出現 none 的圖,我是有漏什麼步驟嗎? 08/08 13:02
aiti80630:因為你import的是一個把很多class壓在一起的jar檔 08/09 18:52
aiti80630:不含source code所以顯示none 08/09 18:52
aiti80630:jar解開看是不是缺了InovationTargetException.class 08/09 18:52
ivanf10710:的確,我發現jar檔內沒有source跟javadoc 08/09 22:26