我在Eclipse中签出了一个maven项目,无法检查变量(右键单击该变量并单击检查选项)。Eclipse检查(Ctrl + Shift + I)不起作用
当我试图这样做,我得到以下信息:
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.
任何一个可以知道这样做的原因可能是什么?
在此先感谢。
这就是它在我的情况,但随着服务器。双击服务器 - >打开启动配置 - >源代码 - >添加 - >“您的项目”。 (应按PSR所述选择源文件夹。) – 2017-03-01 11:04:55