I'm trying to create a maven project with richfaces 4 to run on the payara server 5, but it always gives the following error:
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]]
Below are the libraries that maven downloaded:
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