java.lang.NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Build


I am using OrientDB Native Java Driver for a simple connection to Orient DB Server. I am following <a href="https://github.com/orientechnologies/orientdb/wiki/Object-Database" rel="nofollow">OrientDb Github link</a> for basic setup instructions. I have added the five jars mentioned in the github link, orient-commons-*.jar, orientdb-core-*.jar, orientdb-object-*.jar, orientdb-client-*.jar, orientdb-enterprise-*.jar. However, I am still facing below error. I googled and couldn't find any answer regarding which jar file am I missing? Please advise.

Exception in thread "main" java.lang.NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder at com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeCollectionManagerAbstract.<init>(OSBTreeCollectionManagerAbstract.java:22) at com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeCollectionManagerAbstract.<init>(OSBTreeCollectionManagerAbstract.java:28) at com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote.<init>(OSBTreeCollectionManagerRemote.java:34) [... removed lines ... ] com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54) at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54) at com.orientechnologies.orient.object.db.OObjectDatabaseTx.open(OObjectDatabaseTx.java:102) at org.poc.orientdb.jdbc.OrientJDBC.<init>(OrientJDBC.java:18) at org.poc.orientdb.jdbc.OrientJDBC.main(OrientJDBC.java:32) Caused by: java.lang.ClassNotFoundException: com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 18 more


not sure whether this will help you or not but looks like the class you mentioned is in the "concurrentlinkedhashmap-lru-1.1.jar"

<a href="http://mvnrepository.com/artifact/com.googlecode.concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.1" rel="nofollow">http://mvnrepository.com/artifact/com.googlecode.concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.1</a>


  • Transitive Clousure in OrientDB query language
  • How to print or log on function javascript Orientdb
  • How to export/import OrientDB dumps and retain IDs
  • How to make orientDB avoid null
  • Reference cursor gets lost in XMLType.createxml
  • Java JPA - Sync Database and Entity
  • How to escalate top-most supervisors in Akka?
  • Custom domains in a Rails App
  • How do I resolve an ImageSource IRandomAccessStream seeking not supported error?
  • angular 2 group validation
  • Cannot get ComboBox selected item value
  • Visual Studio 2015 XAML Resource Dictionary Error
  • EJB @Schedule issue
  • Where can I get runkit DLL extensions for PHP 5.3+?
  • How to read JSON-LD data from HTML in Objective-C?
  • Examples of how to a STS in .Net 4.5 using WCF
  • Angular2 component view does not update on value change via method
  • CakePHP ACL tutorial initDB function warnings
  • Jquery - Jquery Wysiwyg return html as a string
  • AT Commands to Send SMS not working in Windows 8.1
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Arrays break string types in Julia
  • SetUp method failed while running tests from teamcity
  • Rails 2: use form_for to build a form covering multiple objects of the same class
  • WPF Applying a trigger on binding failure
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Hits per day in Google Big Query
  • Understanding cpu registers
  • coudnt use logback because of log4j
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How do I configure my settings file to work with unit tests?
  • Java static initializers and reflection
  • Linking SubReports Without LinkChild/LinkMaster
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Is it possible to post an object from jquery to bottle.py?
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?