Spring social NoSuchMethodError SocialAuthenticationFilter.getFilterProcessesUrl()

ぃ、小莉子 提交于 2019-12-06 01:48:26

It looks like Spring Security removed getFilterProcessesUrl() in Spring Security 4.0.0.RC1 (it was marked as deprecated anyways).

It seems that other project filters have not been updated?

Try rolling back to 4.0.0.M2 or use the 3.2 train.

Please notice that spring security 4 will not accept spring social 1.1.0. Please upgrade all spring social dependencies(config, core, security and web) to 1.1.2.RELEASE. You can leave your spring social Facebook to 1.1.0

As hinted in my comment, you have the wrong version of some library. My intelligent guess is that version of Spring Security is wrong. From what I can find, you should use a version in the 3.2.x series (for example 3.2.5) of Spring Security.

Consider using version 1.1.4.

this is solved in spring-social-security 1.1.4.RELEASE (or perhaps some version before).

https://github.com/spring-projects/spring-social

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