Eclipse Inspect(Ctrl + Shift + I)无法正常工作 [英] Eclipse Inspect(Ctrl+shift+I) not working
本文介绍了Eclipse Inspect(Ctrl + Shift + I)无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Eclipse中签出了一个maven项目,无法检查变量(右键单击该变量,然后单击检查选项)。
I checked out a maven project in Eclipse and am unable to Inspect a Variable (right click on the variable and click Inspect option).
当我尝试这样做时,出现以下消息:
When I attempt to do so, I get the following message :
To perform any evaluation, an expression must be compiled in the
context of a java project's build path. The current execution
context is not associated with a java project in the work-space.
有人可以知道这是什么原因吗?
Can any one know what the reason for this might be?
预先感谢。
推荐答案
我通过以下操作解决了这个问题:
I solved this problem by did the following:
右键单击项目->构建路径->选择源标签->添加文件夹
,然后我将包含Java类的文件夹添加到
。
Right click on the project ->build path -> select source tab -> add folder
and then i added
the folder which contains the java classes.
这篇关于Eclipse Inspect(Ctrl + Shift + I)无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文