-1

在休眠输出数据后出现此错误,知道为什么会发生这种情况。请帮忙!

Sep 07, 2016 12:07:00 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop
INFO: HHH000030: Cleaning up connection pool [jdbc:postgresql://localhost:5432/bendb]
Sep 07, 2016 12:07:00 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 3 * Server responded with a response on thread http-nio-8080-exec-5
3 < 200
3 < Access-Control-Allow-Methods: GET, POST, DELETE, PUT
3 < Access-Control-Allow-Origin: *
3 < Allow: OPTIONS
3 < Content-Type: application/json

Sep 07, 2016 12:07:00 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 4 * Server responded with a response on thread http-nio-8080-exec-5
4 < 500
4

1 回答 1

0

抱歉在我的代码中发现了一个错误,所以很明显我所做的代码更改是试图映射所有连接表(集合)在那个 get user rest 调用中,因此 jersey 在尝试这样做时刚刚爆发。un 注释该代码并仅传递正常数据集即可解决该问题。

于 2016-09-07T20:00:05.950 回答