我有一门课:
@Configuration
public class SecurityConfiguration extends SpringSecurityConfiguration {
}
..
@Configuration
@EnableWebSecurity
@EnableAspectJAutoProxy
@EnableGlobalMethodSecurity(
jsr250Enabled = true,
securedEnabled = true,
prePostEnabled = true,
proxyTargetClass = true
)
public class SpringSecurityConfiguration extends WebSecurityConfigurerAdapter {
public SpringSecurityConfiguration() {
}
..
}
但当我部署时,我有一个错误:
Caused by: java.lang.IllegalStateException: @Order on WebSecurityConfigurers must be unique. Order of 100 was already used on eSecurityConfiguration$$EnhancerBySpringCGLIB$$e8ee1d6f@18dbc2eb, so it cannot be used on
暂无答案!
目前还没有任何答案,快来回答吧!