Registration failures now throw an IllegalStateException instead of being logged. I had to build in an escape hatch named setIgnoreRegistrationFailure which is used in the JerseyAutoConfiguration. If this is set to true, it logs instead of throwing an exception.

If the name is set, it is used. If not, the bean name is used (by implementing BeanAware). If that's not set, the convention based name is taken.

See https://github.com/spring-projects/spring-boot/issues/19605

Comment From: mhalbritter

We currently log an INFO level message when a servlet / filter is registered but this has no effect as there was already an registration with the same name. We should investigate if this can be changed to an exception.