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