wultra / enrollment-server

Base implementation of the enrollment server, usable as the stub for project bootstrapping.
GNU Affero General Public License v3.0
4 stars 1 forks source link

Unable to proxy interface-implementing method #1089

Open banterCZ opened 2 months ago

banterCZ commented 2 months ago

There are some warnings about proxies in the log.

2024-06-21T13:48:53.989+02:00  WARN 75289 --- [enrollment-server] [           main] [                                                 ] o.s.aop.framework.CglibAopProxy          : Unable to proxy interface-implementing method [public final long org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.getLastModified(jakarta.servlet.http.HttpServletRequest,java.lang.Object)] because it is marked as final, consider using interface-based JDK proxies instead.
2024-06-21T13:50:15.577+02:00  WARN 75336 --- [onboarding-server] [           main] [                                                 ] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.statemachine.config.configuration.StateMachineAnnotationPostProcessorConfiguration' of type [org.springframework.statemachine.config.configuration.StateMachineAnnotationPostProcessorConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [org.springframework.statemachine.processor.stateMachineAnnotationPostProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead.