Or should you be functioning an IDE like eclipse you may appropriate click on the venture -> Establish path -> configure Construct route This might be an IDE bug. For instance @Joel Costigliola described a circumstance exactly where Eclipse didn't take care of a Maven "check" tree the right way: https://bongacam-couples33210.wizzardsblog.com/36389824/bongacams-com-fundamentals-explained