无法在 Payara 4.1 上部署应用程序

Unable to deploy application on Payara 4.1

我正在尝试在我的 Payara 4.1 服务器上部署我的 Web 应用程序。但是我收到以下错误:java.lang.NoSuchMethodError: javax.faces.application.Application.addSearchKeywordResolver(Ljavax/faces/component/search/SearchKeywordResolver;)V

当我google这个问题时,我发现有几个人有同样的问题,但是他们都使用过时的版本Primefaces,但我使用的是最新版本(6.2)作为您可以在下面的完整日志中看到。

我以前部署过我的应用程序,但我一次更改太多,所以我不知道是什么触发了这个错误。但是,据我所知,我没有更改任何库's/dependency。

如果您需要更多信息,请告诉我。

Full logs can be found here

我最终在 Glassfish 5 服务器上部署了我的应用程序并且它再次运行,但我不知道为什么。