I was trying BaseOnPremExample example by Jeff Potts and ran into the below error. I get that exception from factory.getRepositories(parameter); of the below code. Please help !
——————————————————————————————————————- Exception in thread "main" java.lang.NoSuchMethodError: org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisAtomPubBinding(Ljava/util/Map;Lorg/apache/chemistry/opencmis/commons/spi/AuthenticationProvider;Lorg/apache/chemistry/opencmis/client/bindings/cache/TypeDefinitionCacheLorg/apache/chemistry/opencmis/commons/spi/CmisBinding; at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createAtomPubBinding(CmisBindingHelper.java:98) at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBinding(CmisBindingHelper.java:56) at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:131) at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:111) at com.alfresco.api.example.BaseOnPremExample.getCmisSession(BaseOnPremExample.java:78) at com.alfresco.api.example.CmisRepositoryInfoExample.doExample(CmisRepositoryInfoExample.java:28) at com.alfresco.api.example.CmisRepositoryInfoExample.main(CmisRepositoryInfoExample.java:19)