Commit 6553fe9c authored by huanyu's avatar huanyu

变更获取路径方式

parent 9c22bae5
......@@ -17,7 +17,7 @@
</plugins>
</build>
<groupId>com.signature.block.util</groupId>
<version>TEST-0.0.3-SNAPSHOT</version>
<version>TEST-0.0.4-SNAPSHOT</version>
<properties>
<java.version>1.8</java.version>
......
......@@ -20,8 +20,9 @@ public class FileCoinUtils {
private static final ObjectMapper MAPPER = new ObjectMapper();
static {
String rootPath = FileCoinUtils.class.getResource("/").getPath();
try {
String rootPath = new File("").getCanonicalPath();
if (isWin) {
String configFilePath = rootPath + File.separator + WIN_DLL;
File configFile = new File(configFilePath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment