
springboot 集成 mysql influxdb
【代码】springboot 集成 mysql influxdb。
·
已经搭建好springboot+mysql,此处记录继续集成influxdb
第一步 集成InfluxDB封装的框架
<dependency>
<groupId>io.github.betacatcode</groupId>
<artifactId>spring-boot-starter-influxdb</artifactId>
<version>0.0.5-RELEASE</version>
</dependency>
参考地址:https://gitee.com/ruin97/spring-boot-starter-influxdb/tree/feature-starter
如果报错,如:kotlin错误,okhttp3错的等,引入对应的包或者检查版本问题
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.5.20</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.10.0</version>
</dependency>
更多推荐
所有评论(0)