Files
spring-boot-demo/boot4-migration/output/10-security-dsl-compile-errors.txt
T

9 lines
500 B
Plaintext

$ javac SecurityConfig.java # Boot 3 file, import repointed to the 4.1.2 package; the old method-chaining DSL left as it was
SecurityConfig.java:16: error: method authorizeHttpRequests in class HttpSecurity cannot be applied to given types;
http.authorizeHttpRequests()
^
required: Customizer<AuthorizeHttpRequestsConfigurer<HttpSecurity>.AuthorizationManagerRequestMatcherRegistry>
found: no arguments
reason: actual and formal argument lists differ in length
1 error