【发布时间】:2018-07-09 11:39:10
【问题描述】:
尝试将我的 maven EAR 文件部署到 payara 服务器 (5.181) 时,我收到以下错误消息:
[2018-07-09T10:58:00.971+0200] [Payara 5.181] [SCHWERWIEGEND] [] [javax.enterprise.system.core] [tid: _ThreadID=46 _ThreadName=admin-thread-pool::admin-listener(1)] [timeMillis: 1531126680971] [levelValue: 1000] [[
Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: org.glassfish.jersey.filter.LoggingFilter]]
maven 构建工作正常,所以我想在发布应用程序时它一定是 payara 特定的问题(?)。
【问题讨论】:
-
那个版本的 Payara 使用什么版本的泽西岛?在 Jersey 2.26 中删除了 LoggingFilter。您现在需要使用 LoggingFeature。 jersey.github.io/documentation/latest/logging_chapter.html
标签: jakarta-ee jersey payara