Fix exception message

Fixes gh-13783
This commit is contained in:
Madhura Bhave 2018-07-17 17:05:29 -07:00
parent 777fc5e464
commit 9bd723ddad
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public abstract class ApplicationContextServerWebExchangeMatcher<C>
@SuppressWarnings("unchecked")
private Supplier<C> createContext(ServerWebExchange exchange) {
ApplicationContext context = exchange.getApplicationContext();
Assert.state(context != null, "No WebApplicationContext found.");
Assert.state(context != null, "No ApplicationContext found.");
if (this.contextClass.isInstance(context)) {
return () -> (C) context;
}