Update to spring-boot 1.3.3
ptahchiev opened this issue · comments
Petar Tahchiev commented
Please update to latest spring-boot. I tried it but it shows this error:
Caused by: java.lang.IllegalStateException: @Scheduled method 'removeInactiveExecutions' found on bean target class 'SimpleJobService' but not found in any interface(s) for a dynamic proxy. Either pull the method up to a declared interface or switch to subclass (CGLIB) proxies by setting proxy-target-class/proxyTargetClass to 'true'.
at org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor.processScheduled(ScheduledAnnotationBeanPostProcessor.java:287)
at org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor.postProcessAfterInitialization(ScheduledAnnotationBeanPostProcessor.java:258)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1723)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:130)
... 26 more
Guy Brand commented
Hi @ptahchiev,
I could fix the issue and created the #7 pull request which also upgrades to Spring Boot 1.3.5.RELEASE. Lets hope that the pull request gets accepted and is merged to master.
Regards,
Guy
entmatrescu commented
@guylabs Thanks for the solution, it worked!
Mahmoud Ben Hassine commented
Closing this issue as the project is being moved to the spring-attic.