Junit 6 is out and needs code changes to support. Upgrade, possibly new major version depending on the scope of the change.