项目文件夹重命名后重新指定数据库文件位置

TODO:相对路径
This commit is contained in:
Administrator
2025-05-12 14:46:47 +08:00
parent 3bffd69831
commit aa3ffc1696

View File

@@ -86,7 +86,6 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB
} }
public static boolean updateBean(String name, Object newBean) { public static boolean updateBean(String name, Object newBean) {
log.debug("Enter updateBean for {}'s update", name);
if (SpringContextHolder.applicationContext != null) { if (SpringContextHolder.applicationContext != null) {
if (!applicationContext.containsBean(name)) { if (!applicationContext.containsBean(name)) {
log.debug("updateBean is only for initialized bean's updating, but {} doesn't exist or hasn't been initialized yet"); log.debug("updateBean is only for initialized bean's updating, but {} doesn't exist or hasn't been initialized yet");