Or should you be jogging an IDE for instance eclipse you could ideal click the task -> Make path -> configure Create path This may be an IDE bug. As an illustration @Joel Costigliola explained a scenario wherever Eclipse did not take care of a Maven "test" tree properly: see https://andresmgsdp.blogs-service.com/67350523/examine-this-report-on-bongacam