703 Star 4.7K Fork 1.9K

GVPDataGear / datagear

 / 详情

es6.8.0 连接成功但是 显示【表结构解析出错】

已完成
创建于  
2022-10-13 18:31

code
:
"error.DBMetaResolverException"
fail
:
true
message
:
"表结构解析出错"
success
:
false
throwableDetail
:
false
type
:
"FAIL"

评论 (3)

jasee 创建了任务

查看DG程序目录内logs/里的日志,排查一下原因,另参考:
http://www.datagear.tech/messageboard/message/1181

2022-10-17 14:33:54.350 WARN 24368 --- [http-nio-50401-exec-10] o.d.m.r.AbstractDevotedDBMetaResolver : can not get table types :

java.sql.SQLInvalidAuthorizationSpecException: current license is non-compliant for [jdbc]
at org.elasticsearch.xpack.sql.client.JreHttpUrlConnection$SqlExceptionType.asException(JreHttpUrlConnection.java:322) ~[na:na]
at org.elasticsearch.xpack.sql.client.JreHttpUrlConnection.parserError(JreHttpUrlConnection.java:199) ~[na:na]
at org.elasticsearch.xpack.sql.client.JreHttpUrlConnection.request(JreHttpUrlConnection.java:161) ~[na:na]
at org.elasticsearch.xpack.sql.client.HttpClient.lambda$post$1(HttpClient.java:103) ~[na:na]
at org.elasticsearch.xpack.sql.client.JreHttpUrlConnection.http(JreHttpUrlConnection.java:65) ~[na:na]
at org.elasticsearch.xpack.sql.client.HttpClient.lambda$post$2(HttpClient.java:102) ~[na:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_302]
at org.elasticsearch.xpack.sql.client.HttpClient.post(HttpClient.java:101) ~[na:na]
at org.elasticsearch.xpack.sql.client.HttpClient.query(HttpClient.java:78) ~[na:na]
at org.elasticsearch.xpack.sql.jdbc.JdbcHttpClient.query(JdbcHttpClient.java:66) ~[na:na]
at org.elasticsearch.xpack.sql.jdbc.JdbcStatement.initResultSet(JdbcStatement.java:160) ~[na:na]
at org.elasticsearch.xpack.sql.jdbc.JdbcStatement.execute(JdbcStatement.java:151) ~[na:na]
at org.elasticsearch.xpack.sql.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:40) ~[na:na]
at org.elasticsearch.xpack.sql.jdbc.JdbcDatabaseMetaData.queryColumn(JdbcDatabaseMetaData.java:1236) ~[na:na]
at org.elasticsearch.xpack.sql.jdbc.JdbcDatabaseMetaData.getTableTypes(JdbcDatabaseMetaData.java:777) ~[na:na]
at org.datagear.meta.resolver.AbstractDevotedDBMetaResolver.getTableTypes(AbstractDevotedDBMetaResolver.java:293) [datagear-meta-4.1.1.jar!/:na]
at org.datagear.meta.resolver.AbstractDevotedDBMetaResolver.getSimpleTables(AbstractDevotedDBMetaResolver.java:332) [datagear-meta-4.1.1.jar!/:na]
at org.datagear.meta.resolver.AbstractDevotedDBMetaResolver.getSimpleTables(AbstractDevotedDBMetaResolver.java:96) [datagear-meta-4.1.1.jar!/:na]
at org.datagear.meta.resolver.GenericDBMetaResolver.getSimpleTables(GenericDBMetaResolver.java:73) [datagear-meta-4.1.1.jar!/:na]
at org.datagear.web.controller.SchemaController$1.execute(SchemaController.java:310) [classes!/:na]
at org.datagear.web.controller.SchemaController$1.execute(SchemaController.java:303) [classes!/:na]
at org.datagear.web.controller.AbstractSchemaConnController$ReturnSchemaConnExecutor.doExecute(AbstractSchemaConnController.java:350) [classes!/:na]
at org.datagear.web.controller.AbstractSchemaConnController$AbstractSchemaConnExecutor.doExecute(AbstractSchemaConnController.java:230) [classes!/:na]
at org.datagear.web.controller.AbstractSchemaConnController$ReturnSchemaConnExecutor.execute(AbstractSchemaConnController.java:342) [classes!/:na]
at org.datagear.web.controller.SchemaController.pagingQueryTable(SchemaController.java:314) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_302]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_302]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_302]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_302]

错误信息中已经说明了原因:
java.sql.SQLInvalidAuthorizationSpecException: current license is non-compliant for [jdbc]

datagear 任务状态从 待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
2055474 datagearadmin 1663816640
Java
1
https://gitee.com/datagear/datagear.git
git@gitee.com:datagear/datagear.git
datagear
datagear
datagear

搜索帮助