I ended up changing all junit-5 templates by addinng public modifier to all of them (class, setup, teardown and ).
public