Browse Source

启动 BUG

master
DouDou 4 months ago
parent
commit
b6b41e1eca
  1. 2
      src/main/java/com/spring/config/LdapAccountInitLoad.java

2
src/main/java/com/spring/config/LdapAccountInitLoad.java

@ -75,8 +75,10 @@ public class LdapAccountInitLoad implements ApplicationRunner{
} catch (NamingException e) { } catch (NamingException e) {
logger.error("Failed to connect to the LDAP server."); logger.error("Failed to connect to the LDAP server.");
} finally{ } finally{
if (null != ctx){
ctx.close(); ctx.close();
} }
}
} }

Loading…
Cancel
Save