'unable to compile conditional breakpoint missing java project context

This is a typical java maven project. The run time instance and source code are exactly the same version. I run into the same error "unable to compile conditional breakpoint missing java project context" by trying on the latest Eclipse(2020-03 4.15.0) and (2018-09 4.9.0). The condition is pretty straightforward as below:

onestring.equalIgnoreCase("abc") && this.anotherString.equalIgnoreCase("edf")

I googled and it seems like it is an Eclipse bug. Anyone here experienced the same? or anything I did wrong?



Solution 1:[1]

Literally just found a solution yesterday. Try right-clicking the stackframe, then "Import Binary Project".

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user3418049