mirror of
https://github.com/Hello-hao/Tbed.git
synced 2026-09-20 03:18:28 +00:00
2026-06-05 代码优化更新
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user