问题描述
运行:
- 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,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","fullVersion" from "LICENSE" where "orgDir" = 'exampleclub'
在流畅的动作之后,播放框架错误处理程序被调用。 任何帮助表示赞赏。谢谢。
解决方法
数据库不可用,我禁用了游戏进化。