java.lang.NoClassDefFoundError

com/tc/object/bytecode/NotClearable

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

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

Solutions on the web8158

  • com/tc/object/bytecode/NotClearable
  • via Terracotta by tekkie00, 11 months ago
    com/tc/object/bytecode/Manageable
  • via terracotta.org by Unknown author, 1 year ago
    com/tc/object/bytecode/ManagerUtil
  • Stack trace

    • java.lang.NoClassDefFoundError: com/tc/object/bytecode/NotClearable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at org.terracotta.modules.tccache.StoreImpl.<init>(StoreImpl.java:37) at org.terracotta.modules.tccache.TCDistributedCacheImpl.<init>(TCDistributedCacheImpl.java:41) at albums.TCCacheFactory.createCache(TCCacheFactory.java:45) at albums.TCCacheFactory.getCache(TCCacheFactory.java:32) at albums.TCCacheRunOne.main(TCCacheRunOne.java:13) Caused by: java.lang.ClassNotFoundException: com.tc.object.bytecode.NotClearable at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 17 more

    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

    Unknown user
    Once, 1 week ago
    4 times, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 2 months ago
    1189 more bugmates