You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Tsung Han Tsai (JIRA)" <ji...@apache.org> on 2019/05/23 22:36:01 UTC

[jira] [Created] (IOTDB-94) IoTDB failed to start client since the required jars are not in the correct lib directory

Tsung Han Tsai created IOTDB-94:
-----------------------------------

             Summary: IoTDB failed to start client since the required jars are not in the correct lib directory
                 Key: IOTDB-94
                 URL: https://issues.apache.org/jira/browse/IOTDB-94
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Tsung Han Tsai


*Operating system version*: Windows 10 x64

*Reproduction of the problem*

When following the "Quick Start" instruction on IoTDB website, it would result in "Cannot find the main class 'org.apache.iotdb.cli.client.Client' error". There is the detailed operation below:
 # Let $IOTDB_HOME = /workspace/incubator-iotdb/iotdb/iotdb/
Let $IOTDB_CLI_HOME = /workspace/incubator-iotdb/iotdb-cli/cli/
 #  
{code:java}
> pwd
/workspace/incubator-iotdb

> mvn clean package -pl iotdb -am -Dmaven.test.skip=true{code}

 # 
{code:java}
> $IOTDB_HOME\bin\start-server.bat{code}

 # 
{code:java}
> pwd
/workspace/incubator-iotdb

> mvn clean package -pl iotdb-cli -am -Dmaven.test.skip=true

> $IOTDB_CLI_HOME\bin\start-client.bat -h <IP> -p <PORT> -u <USER_NAME>{code}

which would result in:

 
{code:java}
Cannot find the main class 'org.apache.iotdb.cli.client.Client'{code}
 

*Reason*

The reason of causing this error is the required jars to start IoTDB client are not in the correct lib directory.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)