英语白痴的我实在理解不了introspect的意思,
异常相关代码:
@Configuration
@EnableWebSecurity
public class InterceptorReqistryTest extends WebSecurityConfigurerAdapter
{
@Autowired
DataSource datasource;
@Override
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.jdbcAuthentication().dataSource(datasource);
}
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().antMatchers("/test/demo").hasRole("管理员").
anyRequest().permitAll().and().csrf().disable();
}
}
异常信息:
Failed to introspect meta-annotations on interface org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy