java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects

karaf-user | Jean-Baptiste Onofré | 1 year 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

    com/google/common/base/MoreObjects

    at org.onosproject.xuanwulake.service.Policy.toString()
  2. org.onosproject.xuanwulake
    CShowPolicyCmd.execute
    1. org.onosproject.xuanwulake.service.Policy.toString(Policy.java:133)
    2. org.onosproject.xuanwulake.cli.CShowPolicyCmd.execute(CShowPolicyCmd.java:26)
    2 frames
  3. org.onosproject.cli
    AbstractShellCommand.doExecute
    1. org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:129)
    1 frame
  4. Apache Karaf :: Shell :: Console
    AbstractCommand.execute
    1. org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
    2. org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
    2 frames
  5. Unknown
    Proxy588c04cf_a846_4d01_8593_96980eefb543.execute
    1. Proxy588c04cf_a846_4d01_8593_96980eefb543.execute(Unknown Source)
    2. Proxy588c04cf_a846_4d01_8593_96980eefb543.execute(Unknown Source)
    2 frames
  6. Apache Felix Gogo Runtime
    Closure.execute
    1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
    2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
    3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
    4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
    5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
    6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
    6 frames