使用Eclipse的调试功能时,我得到String.replace()的“Sourcepath not found”。昨天晚上它工作得很好,除了自己的代码之外,我没有改变任何东西。Sourcepath not found
msg = msg.replace("[bold]",config.tags[1]);
是什么触发它的外观。
使用Eclipse的调试功能时,我得到String.replace()的“Sourcepath not found”。昨天晚上它工作得很好,除了自己的代码之外,我没有改变任何东西。Sourcepath not found
msg = msg.replace("[bold]",config.tags[1]);
是什么触发它的外观。
检查您的首选项中的Java VM设置是否符合您的期望,并且它们指向具有可用源的JDK。也许你的Java环境中的东西发生了变化
我在哪里可以找到这个?我在偏好设置中看不到Java VM – JohnHoulderUK
首选项 - > Java - >已安装的JRE –
http://icap.me/i/4zorf2xXYp.png是我在那里看到的。 – JohnHoulderUK
然后让我们看看代码。 – Jivings
我不喜欢水晶球,无论他们工作与否。 –
您必须在您的类路径中拥有JDK,而不仅仅是JRE,因为JDK是包含src.zip的。 –