You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Lei Rui (JIRA)" <ji...@apache.org> on 2019/05/27 02:41:00 UTC

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

Lei Rui created IOTDB-102:
-----------------------------

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


*Operating system version*: Windows 10 x64

*Reproduction of the problem*

When following the "Quick Start" instruction on IoTDB website ([https://iotdb.apache.org/#/Documents/Quick%20Start]), 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}
 

*Screenshots*

Follow the "Quick Start" instruction on the website.

  !5.PNG!

!6.PNG!

!7.PNG!

!8.PNG!

!2.PNG!

!1.PNG!

!3.PNG!!4.PNG!

*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)