报错如下: 2020-10-28 16:59:06.115-[Thread: main] [ERROR]-init datasource error, url: jdbc:iotdb://127.0.0.1:6667/ org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'} at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:305) ~[iotdb-jdbc-0.10.1.jar:0.10.1] at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:279) ~[iotdb-jdbc-0.10.1.jar:0.10.1] at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1421) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1720) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:912) [druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1378) [druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1374) [druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:98) [druid-1.1.23.jar:1.1.23] at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43) [jfinal-4.9.jar:?] at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) [jfinal-4.9.jar:?] at testIotDB.main(testIotDB.java:26) [test-classes/:?]
2020-10-28 16:59:06.132-[Thread: main] [ERROR]-{dataSource-1} init error org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'} at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:305) ~[iotdb-jdbc-0.10.1.jar:0.10.1] at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:279) ~[iotdb-jdbc-0.10.1.jar:0.10.1] at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1421) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1720) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:912) [druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1378) [druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1374) [druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:98) [druid-1.1.23.jar:1.1.23] at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43) [jfinal-4.9.jar:?] at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) [jfinal-4.9.jar:?] at testIotDB.main(testIotDB.java:26) [test-classes/:?]
2020-10-28 16:59:06.135-[Thread: main] [ERROR]-[main]: org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'} com.jfinal.plugin.activerecord.ActiveRecordException: org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'} at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:55) ~[jfinal-4.9.jar:?] at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) ~[jfinal-4.9.jar:?] at testIotDB.main(testIotDB.java:26) [test-classes/:?] Caused by: org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'} at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:305) ~[iotdb-jdbc-0.10.1.jar:0.10.1] at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:279) ~[iotdb-jdbc-0.10.1.jar:0.10.1] at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1421) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1720) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:912) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1378) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1374) ~[druid-1.1.23.jar:1.1.23] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:98) ~[druid-1.1.23.jar:1.1.23] at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43) ~[jfinal-4.9.jar:?] ... 2 more