playframework - 播放框架光滑的动作使服务器崩溃
问题描述
跑步:
- Ubuntu 18.04.5 LTS(MacOS BigSur 一切正常)
- 播放框架版本 2.7.4。
- play_slick 4.0.2
- sqlite%3.34.0 或 h2%1.4.192
- openjdk 版本“11.0.11”(MacOS:openjdk 版本“11.0.8”2020-07-14)
我在Mac上开发,生产环境是Ubuntu。在 Mac 上一切正常。在 Ubuntu 上,灵巧的动作崩溃了。这是 slick 和 hikari 的调试输出:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/home/robert/tourneyservice-1.4.6/lib/com.google.inject.guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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
[info] c.z.h.HikariDataSource - db - Starting...
[info] c.z.h.HikariDataSource - db - Start completed.
...
[debug] s.b.B.action - #1: StreamingInvokerAction$HeadOptionAction [select "id", "uuid", "club", "orgDir", "licStr", "email", "name", "address", "password", "reqTStamp", "allowContact", "fullVersion" from "LICENSE" where "orgDir" = 'exampleclub']
[debug] s.j.J.statement - Preparing statement: select "id", "uuid", "club", "orgDir", "licStr", "email", "name", "address", "password", "reqTStamp", "allowContact", "fullVersion" from "LICENSE" where "orgDir" = 'exampleclub'
在巧妙的动作之后,播放框架错误处理程序被调用。任何帮助表示赞赏。谢谢。
解决方案
数据库不可用,我禁用了游戏进化。
推荐阅读
- django - 使用 DRF 进行序列化时如何减少递归 MPTT 树查询
- .net - dotnet 测试未使用 SpecFlow 测试过滤 ClassName
- css - 是否可以从头到尾转换占位符文本?
- php - 我想使用日期时间选择器使用 php 过滤来自 mysql 的数据
- oracle - 我有一个更新密码屏幕的功能现在我想为不同的屏幕添加相同的功能和一些不同的参数
- protractor - 由于此错误“无法设置未定义的属性 'wrapCompare'”,无法执行量角器脚本
- python-3.x - TX2 GPU 未正确分配内存
- wordpress - 在父页面和子页面的侧边栏中显示子页面链接
- angular - 角度视图不更新数据
- java - 如何使用 SMACK OMEMO 为群聊或 MUC 生成指纹?