Fix Consts.loadProperties. Fixes #154.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.foxinmy</groupId>
|
||||
<artifactId>weixin4j</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</parent>
|
||||
<artifactId>weixin4j-base</artifactId>
|
||||
<name>weixin4j-base</name>
|
||||
|
||||
@@ -18,7 +18,7 @@ public final class Consts {
|
||||
|
||||
private static Properties loadProperties() {
|
||||
Properties properties = new Properties();
|
||||
InputStream inputStream = Consts.class.getResourceAsStream("../weixin4j.properties");
|
||||
InputStream inputStream = Consts.class.getResourceAsStream("/com/foxinmy/weixin4j/weixin4j.properties");
|
||||
try {
|
||||
properties.load(inputStream);
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user