java.lang.NoClassDefFoundError: org/junit/Assert

GitHub | rvanheest | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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