I have a Maven project which is cloned from Git. Project was successfully built and runs perfectly. However when i debug and try to evaluate functions/expressions, it gives me error saying --
expression must be compiled in the context of a Java Project's build path.
I read previous stack overflow answers and did the following (with no results)--
I added java nature to .project file and then added Java Project in source lookup. Still i get same error.
If i remove the Java project from source lookup and choose option --"Workspace folder" while adding Source lookup path, it gives me Null Pointer exception.
Can someone please tell me how to resolve this?
See Question&Answers more detail:os