There is usually several eventualities as people have pointed out in prior solutions. Here are two or three points that have assisted me solve this. This may be an IDE bug. For instance @Joel Costigliola explained a situation where Eclipse didn't cope with a Maven "examination" tree accurately: see this https://bongacam95050.blogproducer.com/43729979/the-smart-trick-of-bongacam-that-nobody-is-discussing