我试图仅将 gradle 用于 jar 依赖项,这意味着我从构建路径中获取了所有 jar 并像这样编写它:compile 'groupid:artifactid:version'.
现在,当我尝试运行服务器(tomcat 7.0.39)时,我得到了这个:
java.lang.IllegalStateException: Second notification for the same phase in the same request occurred. phaseId.ordinal: 1; phaseId = RESTORE_VIEW 1; More than one org.openfaces.component.validation.ValidatorPhaseListener is found to be registered (2). Check that only one JSF implementation is deployed with your application's classpath, and openfaces.jar is not duplicated in application's and server's libraries.
我不明白我应该做什么以及去哪里看。
有人可以阐明一下吗?