0

I am trying to configure the TDengine JDBC connector on my own pc, following the documentation: https://www.taosdata.com/en/documentation/connector/java However, the project fail to start:

Error creating bean with name 'tdengineDataSource' defined in class path resource
 [com/protontek/ecgrealtime/webapi/config/datasource/DataSourceConfig.class]: 
Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate
 [javax.sql.DataSource]: Factory method 'tdengineDataSource' threw exception; 
nested exception is java.lang.UnsatisfiedLinkError: no taos in java.library.path

I have saved 'taos.dll' file in my library path, and the error still there. Could anyone help?

naissance
  • 133
  • 12
  • What do you think the _"library path"_ is? The error specifies `java.library.path`, which is not the same as the class path. – Mark Rotteveel Dec 24 '21 at 07:26

0 Answers0