diff --git a/README.md b/README.md index dda8af5..fdfe3a5 100644 --- a/README.md +++ b/README.md @@ -191,5 +191,7 @@ Config.UseConfig("org.fortest", (cnf)->{ http://mvn.yuandian.com/repository/maven-releases http://mvn.yuandian.com/repository/maven-snapshots -如: 192.168.1.113 mvn.yuandian.com + +如: host上修改 192.168.1.113 mvn.yuandian.com +如: dns服务器指向 192.168.1.113 ``` diff --git a/pom.xml b/pom.xml index 387670b..0ee9de5 100644 --- a/pom.xml +++ b/pom.xml @@ -8,9 +8,9 @@ http://yuandian.com UTF-8 - 17 - 17 - 17 + 8 + 8 + 8 2.1.0 1.30 1.2.11 diff --git a/src/main/java/com/yuandian/common/Config.java b/src/main/java/com/yuandian/common/Config.java index 63bfacb..c96fa95 100644 --- a/src/main/java/com/yuandian/common/Config.java +++ b/src/main/java/com/yuandian/common/Config.java @@ -25,6 +25,7 @@ import com.alibaba.nacos.api.exception.NacosException; import lombok.Getter; import lombok.Setter; +import lombok.var; import lombok.extern.slf4j.Slf4j; /** @@ -358,7 +359,6 @@ public class Config { return null; }); } catch (Exception e) { - //TODO: handle exception e.printStackTrace(); } diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 77f76b8..1a5cfba 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -3,7 +3,7 @@ class="ch.qos.logback.core.ConsoleAppender"> - %d{yyyyMMdd HH:mm:ss.SSS} %-5level%thread(%file:%line): %msg%n + %d{yyyyMMdd HH:mm:ss.SSS} %-5level%thread\(%file:%line\): %msg%n diff --git a/src/test/java/com/yuandian/common/ConfigTest.java b/src/test/java/com/yuandian/common/ConfigTest.java index 3229ca1..c00a006 100644 --- a/src/test/java/com/yuandian/common/ConfigTest.java +++ b/src/test/java/com/yuandian/common/ConfigTest.java @@ -13,6 +13,7 @@ import org.junit.jupiter.api.TestMethodOrder; import com.alibaba.nacos.api.exception.NacosException; +import lombok.var; import lombok.extern.slf4j.Slf4j; @Slf4j @TestMethodOrder(OrderAnnotation.class)