java.lang.NoSuchMethodError: org.apache.cassandra.utils.FBUtilities.getNetworkInterface(Ljava/net/InetAddress;)Ljava/lang/String;

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.
  1. 0

    Unit Test using embedded cassandra server (cassandra-unit) runs in intellij but crashes when run on command line via sbt

    Stack Overflow | 6 months ago | Thaddeus Gholston
    java.lang.NoSuchMethodError: org.apache.cassandra.utils.FBUtilities.getNetworkInterface(Ljava/net/InetAddress;)Ljava/lang/String;
  2. 0

    NoSuchMethodError: org.apache.cassandra.utils.FBUtilities.toWriteUTFBytes

    GitHub | 1 year ago | ogg1e
    java.lang.NoSuchMethodError: org.apache.cassandra.utils.FBUtilities.toWriteUTFBytes(Ljava/lang/String;)[B

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.cassandra.utils.FBUtilities.getNetworkInterface(Ljava/net/InetAddress;)Ljava/lang/String;

      at org.apache.cassandra.net.MessagingService.getServerSockets()
    2. org.apache.cassandra
      CassandraDaemon.activate
      1. org.apache.cassandra.net.MessagingService.getServerSockets(MessagingService.java:556)
      2. org.apache.cassandra.net.MessagingService.listen(MessagingService.java:488)
      3. org.apache.cassandra.net.MessagingService.listen(MessagingService.java:472)
      4. org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:832)
      5. org.apache.cassandra.service.StorageService.initServer(StorageService.java:727)
      6. org.apache.cassandra.service.StorageService.initServer(StorageService.java:613)
      7. org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:349)
      8. org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551)
      8 frames
    3. cassandra-unit
      EmbeddedCassandraServerHelper$1.run
      1. org.cassandraunit.utils.EmbeddedCassandraServerHelper$1.run(EmbeddedCassandraServerHelper.java:125)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames