net.sf.ehcache.CacheException

java.lang.ClassNotFoundException: models.AuthInfo

Samebug tips5

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6

  • via GitHub by mdii
    , 11 months ago
    java.lang.ClassNotFoundException: models.AuthInfo
  • via JIRA by Yannick Marcon, 1 year ago
    java.lang.ClassNotFoundException: org.obiba.opal.core.magma.math.DefaultVariableSummary
  • via Terracotta by olafos, 2 weeks ago
    java.lang.ClassNotFoundException: boolean
  • Stack trace

    • net.sf.ehcache.CacheException: java.lang.ClassNotFoundException: models.AuthInfo at net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:916) at net.sf.ehcache.store.disk.Segment.decodeHit(Segment.java:183) at net.sf.ehcache.store.disk.Segment.get(Segment.java:221) at net.sf.ehcache.store.disk.DiskStore.get(DiskStore.java:467) at net.sf.ehcache.store.FrontEndCacheTier.get(FrontEndCacheTier.java:201) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2070) at net.sf.ehcache.Cache.get(Cache.java:1590) at net.sf.ehcache.Cache.get(Cache.java:1557) at play.api.cache.EhCacheApi.get(Cache.scala:274) at controllers.APISecured$$anonfun$checkAccount$2.apply(Authentication.scala:87) Caused by: java.lang.ClassNotFoundException: models.AuthInfo at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at net.sf.ehcache.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:129) at net.sf.ehcache.util.PreferTCCLObjectInputStream.resolveClass(PreferTCCLObjectInputStream.java:44) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    Once, 2 months ago
    Once, 6 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    1669 more bugmates