Commit b7677408 authored by 赵建伟's avatar 赵建伟

upadte codes

parent 227c0a2a
......@@ -216,7 +216,7 @@
<workItem from="1588148891822" duration="2318000" />
<workItem from="1588152718016" duration="1463000" />
<workItem from="1588154601852" duration="28557000" />
<workItem from="1588344252163" duration="1669000" />
<workItem from="1588344252163" duration="1944000" />
</task>
<servers />
</component>
......
package com.gmei.data.gateway.server.utils;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.*;
import java.util.Properties;
/**
......@@ -33,7 +31,8 @@ public class ProperUtils {
private static Properties getProperties(String path) {
Properties properties = new Properties();
try {
InputStream inputStream = ProperUtils.class.getClassLoader().getResourceAsStream(path);
//InputStream inputStream = ProperUtils.class.getClassLoader().getResourceAsStream(path);
InputStream inputStream = new BufferedInputStream(new FileInputStream(path));
properties.load(inputStream);
inputStream.close();
} catch (FileNotFoundException e) {
......
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