diff --git a/src/main/java/cn/hellohao/utils/SpringContextHolder.java b/src/main/java/cn/hellohao/utils/SpringContextHolder.java index 0787b1c..7b5c833 100644 --- a/src/main/java/cn/hellohao/utils/SpringContextHolder.java +++ b/src/main/java/cn/hellohao/utils/SpringContextHolder.java @@ -38,8 +38,8 @@ public class SpringContextHolder implements ApplicationContextAware { private static void assertApplicationContext() { if (SpringContextHolder.applicationContext == null) { - throw new RuntimeException("applicaitonContext属性为null,请检查是否注入了SpringContextHolder!"); + throw new RuntimeException("applicationContext属性为null,请检查是否注入了SpringContextHolder!"); } } -} \ No newline at end of file +}