mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fix: resource loading failure caused by incorrect parameter order in StringUtils.startsWithIgnoreCase (#5173)
This commit is contained in:
@@ -30,7 +30,7 @@ public class TableMetaTSDBBuilder {
|
||||
if (applicationContext == null) {
|
||||
synchronized (contexts) {
|
||||
if (applicationContext == null) {
|
||||
if (!StringUtils.startsWithIgnoreCase("classpath:", springXml)) {
|
||||
if (!StringUtils.startsWithIgnoreCase(springXml, "classpath:")) {
|
||||
springXml = "classpath:" + springXml;
|
||||
}
|
||||
applicationContext = new ClassPathXmlApplicationContext(springXml);
|
||||
|
||||
Reference in New Issue
Block a user