java.lang.NoClassDefFoundError: org/junit/Assert

GitHub | rvanheest | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    org/junit/Assert

    at com.hazelcast.test.mocknetwork.MockJoiner.doJoin()
  2. com.hazelcast.test
    MockJoiner.doJoin
    1. com.hazelcast.test.mocknetwork.MockJoiner.doJoin(MockJoiner.java:55)
    1 frame
  3. com.hazelcast.cluster
    AbstractJoiner.join
    1. com.hazelcast.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:103)
    1 frame
  4. Hazelcast
    HazelcastInstanceFactory.newHazelcastInstance
    1. com.hazelcast.instance.Node.join(Node.java:581)
    2. com.hazelcast.instance.Node.start(Node.java:339)
    3. com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:131)
    4. com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:160)
    5. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:143)
    5 frames
  5. com.hazelcast.test
    TestHazelcastInstanceFactory.newHazelcastInstance
    1. com.hazelcast.test.TestHazelcastInstanceFactory.newHazelcastInstance(TestHazelcastInstanceFactory.java:112)
    1 frame