Fix build after Spring Framework deprecation
See spring-projects/spring-framework#28905
This commit is contained in:
@@ -244,12 +244,6 @@ public class SpringBootContextLoader extends AbstractContextLoader {
|
||||
return AnnotationConfigContextLoaderUtils.detectDefaultConfigurationClasses(declaringClass);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ApplicationContext loadContext(String... locations) throws Exception {
|
||||
throw new UnsupportedOperationException(
|
||||
"SpringApplicationContextLoader does not support the loadContext(String...) method");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String[] getResourceSuffixes() {
|
||||
return new String[] { "-context.xml", "Context.groovy" };
|
||||
|
||||
Reference in New Issue
Block a user