java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map

Oracle Community | Njin | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting error while starting server

    Oracle Community | 1 year ago | Njin
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.util.Map

      at net.sf.ehcache.store.DiskStore.readIndex()
    2. Ehcache
      Cache.initialise
      1. net.sf.ehcache.store.DiskStore.readIndex(DiskStore.java:877)
      2. net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:213)
      3. net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:165)
      4. net.sf.ehcache.Cache.createDiskStore(Cache.java:714)
      5. net.sf.ehcache.Cache.initialise(Cache.java:656)
      5 frames