mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Additional condition to protect Reactor 2.0 users
This commit is contained in:
parent
1b039e78e6
commit
80d55c4720
@ -34,7 +34,7 @@ import reactor.spring.context.config.EnableReactor;
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(EnableReactor.class)
|
||||
@ConditionalOnClass({ EnableReactor.class, Environment.class })
|
||||
@AutoConfigureAfter(WebMvcAutoConfiguration.class)
|
||||
public class ReactorAutoConfiguration {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user