2023-11-21

Maven dependencies messed up.

 

Eclipse: 202306R

Resolved by removed the version from project build path.

Scenario: 
Expecting to use common-io version 2.X
but eclipse always prompt that function of the class in 2.X was undefined.
when look into the class, it refer to version 1.X

traced through maven dependencies was showing correctly, but the version in eclipse project build path was showing version 1.x.