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)