我在 Eclipse 中检查了一个 Maven 项目,但无法检查变量(右键单击变量并单击检查选项)。
当我尝试这样做时,我收到以下消息:
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.
任何人都可以知道这可能是什么原因吗?
提前致谢。