我正在尝试创建一个带有richfaces 4的Maven项目以在payara服务器5上运行,但是它始终会出现以下错误:
Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class org.richfaces.resource.ResourceLibraryFactoryImpl]]
以下是maven下载的库:
richfaces-components-ui-4.0.0.Final.jar
richfaces-components-api-4.0.0.Final.jar
richfaces-core-api-4.0.0.Final.jar
richfaces-core-impl-4.0.0.Final.jar
cssparser-0.9.5.jar
sac-1.3.jar
guava-r08.jar