Commit 80d55c47 authored by Dave Syer's avatar Dave Syer

Additional condition to protect Reactor 2.0 users

parent 1b039e78
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment