Additional condition to protect Reactor 2.0 users

pull/2179/merge
Dave Syer 10 years ago
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…
Cancel
Save