AbstractSecurityInterceptor.afterPropertiesSet() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.notNull
(source)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.afterPropertiesSet
(source)

Typical Exception Messages

  1. Error creating bean with name 'methodSecurityInterceptor' defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: An AuthenticationManager is required
  2. An AuthenticationManager is required
  3. <No message>

Origin

Assert.notNull() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.notNull
475Web pages

Similar

Specific cases

External results for this pattern (9)

  1. Error creating bean with name 'methodSecurityInterceptor' defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: An AuthenticationManager is required
    Show stack trace
  2. Error creating bean with name 'methodSecurityInterceptor' defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: An AuthenticationManager is required
    Show stack trace
  3. BetaRidevia Stack Overflow5 months ago
    Error creating bean with name 'methodSecurityInterceptor' defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: An AuthenticationManager is required
    Show stack trace
  4. DSManuelvia Stack Overflow8 months ago
    Error creating bean with name 'methodSecurityInterceptor' defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: An AuthenticationManager is required
    Show stack trace
  5. BetaRidevia Stack Overflow3 years ago
    An AuthenticationManager is required
    Show stack trace
  6. zeldigasvia Stack Overflow3 years ago
    An AuthenticationManager is required
    Show stack trace
  7. Unknown authorvia Stack Overflow3 years ago
    An AuthenticationManager is required
    Show stack trace