Thank you Martin!
For anyone that could have this problem: solution with Wicket-SpringBoot
and annotations (almost identical as Martin suggested) is as follows:
public class MyErrorPageRegistrar implements ErrorPageRegistrar {
@Override
public void registerErrorPages(final
Hi,
In a plain Spring Boot application (without Wicket-SpringBoot) you can do
it with ErrorPageRegistrar:
import org.springframework.boot.web.servlet.ErrorPage;
import org.springframework.boot.web.servlet.ErrorPageRegistrar;
import org.springframework.boot.web.servlet.ErrorPageRegistry;
import