Additional condition to protect Reactor 2.0 users

(cherry picked from 80d55c47)
Closes gh-2255
pull/2707/head
Dave Syer 10 years ago committed by Phillip Webb
parent fe83aed6b2
commit f4e12e96c6

@ -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…
Cancel
Save