Issue
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?
Thanks in advance.
Solution
I solved this problem by did the following:
Right click on the project ->build path -> select source tab -> add folder
and then i added
the folder which contains the java classes.
Answered By - PSR