Spring 4 cannot execute Java 8 default methods

我的梦境 提交于 2019-12-05 03:35:13

Handling of default methods in interfaces will come with Spring 4.2, so until then either use the release candidates or milestones or don't use default methods with Spring (https://jira.spring.io/browse/SPR-12822 or https://jira.spring.io/browse/SPR-10919)

This issue is still present in the Spring 4.2.5.RELEASE

I have thrown together an example that showcases it on Github here: https://github.com/cjbooms/spring-default-methods

And logged a ticket with Spring here: https://jira.spring.io/browse/SPR-14198

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!