java.lang.NoClassDefFoundError

weblogic/utils/collections/ConcurrentHashSet

Samebug tips9

Check if you didn't forget to instantiate your topic in the kafka broker.


rafaelrafael

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.


rafaelrafael

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

Solutions on the web17798

  • via Unknown by Yamraj,
  • Stack trace

    • java.lang.NoClassDefFoundError: weblogic/utils/collections/ConcurrentHashSet at com.bea.logging.MsgIdPrefixConverter.<clinit>(MsgIdPrefixConverter.java:26) at com.bea.logging.BaseLogRecord.<init>(BaseLogRecord.java:21) at com.bea.logging.BaseLogRecord.<init>(BaseLogRecord.java:50) at weblogic.logging.WLLogRecord.<init>(WLLogRecord.java:42) at weblogic.logging.MessageLogger.log(MessageLogger.java:62) at weblogic.logging.MessageLogger.log(MessageLogger.java:111) at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:52) at weblogic.security.SecurityLogger.logDisallowingCryptoJDefaultJCEVerification(SecurityLogger.java:13444) at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:81) at weblogic.Server.main(Server.java:67) Caused by: java.lang.ClassNotFoundException: weblogic.utils.collections.ConcurrentHashSet 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)

    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

    rprp
    Once,
    Unknown visitor
    Unknown visitorOnce,
    CasperCasper
    4 times, last one
    HandemelindoHandemelindo
    Once,
    Unknown visitor
    Unknown visitor2 times, last one
    2363 more bugmates