diff --git a/whatsmars-mq/whatsmars-mq-rocketmq-tools/pom.xml b/whatsmars-mq/whatsmars-mq-rocketmq-tools/pom.xml
index 8704e4f24cfada223cc337f937e46370a4bfc319..2368049788ea281ebf3d71c315c194f96427e297 100644
--- a/whatsmars-mq/whatsmars-mq-rocketmq-tools/pom.xml
+++ b/whatsmars-mq/whatsmars-mq-rocketmq-tools/pom.xml
@@ -16,11 +16,6 @@
org.apache.rocketmq
rocketmq-tools
-
-
- org.springframework.boot
- spring-boot-starter
-
diff --git a/whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/java/org/hongxi/whatsmars/rocketmq/MQAdminStartup.java b/whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/java/org/hongxi/whatsmars/rocketmq/MQAdminStartup.java
index 043f17f1844e736998d9b058ddb58ba230632b4c..02bbe18a2b788d4156b53b83f23fa79f043441cf 100644
--- a/whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/java/org/hongxi/whatsmars/rocketmq/MQAdminStartup.java
+++ b/whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/java/org/hongxi/whatsmars/rocketmq/MQAdminStartup.java
@@ -1,19 +1,17 @@
package org.hongxi.whatsmars.rocketmq;
import org.apache.rocketmq.common.MixAll;
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.context.ConfigurableApplicationContext;
+
+import java.util.ResourceBundle;
/**
* Created by shenhongxi on 2018/10/21.
*/
-@SpringBootApplication
public class MQAdminStartup {
public static void main(String[] args) {
- ConfigurableApplicationContext ctx = SpringApplication.run(MQAdminStartup.class, args);
- System.setProperty(MixAll.ROCKETMQ_HOME_PROPERTY, ctx.getEnvironment().getProperty("rocketmqHome"));
+ ResourceBundle resourceBundle = ResourceBundle.getBundle("rocketmq");
+ System.setProperty(MixAll.ROCKETMQ_HOME_PROPERTY, resourceBundle.getString("rocketmqHome"));
org.apache.rocketmq.tools.command.MQAdminStartup.main(args);
args = new String[] {"help", "brokerStatus"};
org.apache.rocketmq.tools.command.MQAdminStartup.main(args);
diff --git a/whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/resources/application.properties b/whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/resources/rocketmq.properties
similarity index 100%
rename from whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/resources/application.properties
rename to whatsmars-mq/whatsmars-mq-rocketmq-tools/src/main/resources/rocketmq.properties