You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/11/10 12:22:47 UTC

[GitHub] [rocketmq-externals] maixiaohai opened a new issue #646: [rocketmq-iot-bridge] Fix compile error and script start error

maixiaohai opened a new issue #646:
URL: https://github.com/apache/rocketmq-externals/issues/646


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   try to compile project rocketmq-iot-bridge, and start the mqttsample producer and consumer.
   - What did you expect to see?
   compile success
   ```
   mvn clean package -DskipTests=true
   ```
   and start script success
   ```
   sh bin/server.sh start
   sh bin/sample-consumer.sh
   sh bin/sample-producer.sh
   ```
   - What did you see instead?
   compile error, When I fix it, start script still error.
   some error:
   **bin/server.sh: 25: bin/server.sh: Syntax error: "(" unexpected**
   ```sh bin/sample-consumer.sh```
   **SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
   SLF4J: Defaulting to no-operation (NOP) logger implementation
   SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.**
   2. Please tell us about your environment:
   branch: master
   commit 5c48ed165d2e85a01e88b074ac14608a09e85a47
   3.more info
   after fix
   ```
   sh bin/server.sh start
   RocketMQ-IoT-Bridge started ...
   zhangxu@zhangxu-OptiPlex-7050:~/workspace/rocketmq-externals/rocketmq-iot-bridge$ sh bin/sample-consumer.sh 
   26 [main] INFO org.apache.rocketmq.iot.example.MqttSampleConsumer - Connecting to broker: tcp://127.0.0.1:1883
   179 [main] INFO org.apache.rocketmq.iot.example.MqttSampleConsumer - Connected
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-externals] vongosling closed issue #646: [rocketmq-iot-bridge] Fix compile error and script start error

Posted by GitBox <gi...@apache.org>.
vongosling closed issue #646:
URL: https://github.com/apache/rocketmq-externals/issues/646


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org