You need to manually import the ServerHttpSecurity invoke.
import org.springframework.security.config.web.server.invoke
/
import org.springframework.security.config.annotation.web.invoke
S. Gulwani, and M. Marron. Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data, page 803--814. New York, NY, USA, ACM, (2014)
C. Humer, C. Wimmer, C. Wirth, A. Wöß, and T. Würthinger. Proceedings of the 13th International Conference on Generative Programming: Concepts and Experiences, page 123--132. ACM, (2014)
K. Miksa, M. Kasztelnik, P. Sabina, and T. Walter. Models in Software Engineering, volume 6002 of Lecture Notes in Computer Science, Springer Berlin Heidelberg, (2010)