src/main/java/com/whyc/properties/PropertiesUtil.java
@@ -1,7 +1,6 @@ package com.whyc.properties; import lombok.extern.log4j.Log4j2; import org.springframework.util.StringUtils; /** * @Description 读取Properties的工具类 @@ -23,7 +22,7 @@ }*/ try { propertiesShiro.load(PropertiesUtil.class.getClassLoader() .getResourceAsStream("config/authentication.properties")); .getResourceAsStream("config/authentication.properties.bak")); } catch (Exception e) { log.warn("资源路径中不存在authentication.properties权限文件,忽略读取!"); }