Could not initialize class com.taosdata.jdbc.TSDBJNIConnector
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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