taosdata / taosdata/TDengine

Could not initialize class com.taosdata.jdbc.TSDBJNIConnector

Open
#25,934 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

工具:Mybatis-plus多数据源
url: jdbc:TAOS://node1:6030/datacloud?timezone=UTC-8&charset=UTF-8&locale=en_US.UTF-8
docker run -d --name device --hostname docker-hostname -v /usr/local/taos/driver/libtaos.so.3.0.4.0:/usr/lib/libtaos.so -v /usr/share/zoneinfo:/usr/share/zoneinfo -e TZ=Asia/Shanghai --add-host=node1:127.0.0.1
初始化失败。本机安装了3.0.4.0的客户端,直接运行jar包是可以启动的

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with com.taosdata.jdbc.TSDBJNIConnector and compare its initialization in the Docker command shown with the standalone JAR that starts successfully. Reproduce the Mybatis-plus multi-datasource connection using the provided JDBC URL; done requires identifying the container-specific initialization failure and confirming a compatible startup configuration or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.