java - 带有 java11 的 Openliberty 有警告
问题描述
我在 JRE runtume 版本 11 上使用 OpenLiberty 版本 19.0.0.4 和 JavaEE 8。
当我运行应用程序服务器时,收到以下警告:
[WARNING ] CWWKS3103W: There are no users defined for the BasicRegistry configuration of ID com.ibm.ws.security.registry.basic.config[basic].
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.ibm.ws.util.ThreadContextAccessor (file:/opt/wlp/lib/com.ibm.ws.container.service_1.0.27.jar) to field java.lang.Thread.contextClassLoader
WARNING: Please consider reporting this to the maintainers of com.ibm.ws.util.ThreadContextAccessor
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
如何解决这个问题?
解决方案
这是 OpenLiberty 中的一个已知错误,请参阅open-liberty#7180
根据错误设置JAVA_HOME
将修复该问题。
推荐阅读
- docker - 为 Cloud Run 部署公开 8080 和 3000 端口
- c# - 如何在“开始”和“结束”字符串之间创建字符串序列
- r - 如何将地图的标题放在面板之外(tmap 包)
- javascript - 你能在另一个异步成员函数中等待一个异步成员函数吗?
- c++ - 读取访问冲突?
- python - 如何在互联网上使用 python 套接字
- r - 上传文件夹中的文件而不使用 R 引用名称
- java - Arduino - 处理双向通信无法通过串行接收数据
- hash - HashSet如何实现Hash
? - reactjs - create-react-app 中有哪些选项可用于处理 Edge 中的 rest-syntax 问题?