登录接口报错
来源:3-4 使用RESTful封装MIS系统登录接口(二)

carol02
2023-06-20
控制台报错信息如下:
2023/06/20 00:01:06 INFO Started HospitalApiApplication in 3.346 seconds (JVM running for 3.995)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/usr/local/Cellar/maven/3.9.2/mvn_resp/com/google/protobuf/protobuf-java/3.3.0/protobuf-java-3.3.0.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023/06/20 00:04:07 ERROR create connection RuntimeException
org.apache.calcite.avatica.AvaticaClientRuntimeException: Remote driver error: RuntimeException: org.apache.phoenix.exception.PhoenixIOException: callTimeout=1200000, callDuration=1208823: callTimeout=1200000, callDuration=1218803: org.apache.phoenix.shaded.org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server row 'SYSTEM.CATALOG' on table 'hbase:meta' at null -> PhoenixIOException: callTimeout=1200000, callDuration=1208823: callTimeout=1200000, callDuration=1218803: org.apache.phoenix.shaded.org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server row 'SYSTEM.CATALOG' on table 'hbase:meta' at null -> SocketTimeoutException: callTimeout=1200000, callDuration=1208823: callTimeout=1200000, callDuration=1218803: org.apache.phoenix.shaded.org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server row 'SYSTEM.CATALOG' on table 'hbase:meta' at null -> SocketTimeoutException: callTimeout=1200000, callDuration=1218803: org.apache.phoenix.shaded.org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server row 'SYSTEM.CATALOG' on table 'hbase:meta' at null -> IOException: org.apache.phoenix.shaded.org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server -> ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server
at org.apache.calcite.avatica.remote.Service$ErrorResponse.toException(Service.java:2475)
at org.apache.calcite.avatica.remote.RemoteProtobufService._apply(RemoteProtobufService.java:63)
at org.apache.calcite.avatica.remote.ProtobufService.apply(ProtobufService.java:81)
at org.apache.calcite.avatica.remote.Driver.connect(Driver.java:176)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1570)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1636)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2550)
写回答
2回答
-
神思者
2023-06-20
第一章附录上面写的很清楚。另外你以后有问题,可以到课程QQ群里面提问,无论老师还是同学看到你的问题,都能替你解答。
00 -
神思者
2023-06-20
你看一下手册第一章的附录,有解决方法
012023-06-20
相似问题