java.lang.InstantiationError: javax.jmdns.JmDNS

logging-log4j-user | Adamides, Paul O | 8 years 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.
  1. 0

    Can't get basic Zeroconf example to work.

    logging-log4j-user | 8 years ago | Adamides, Paul O
    java.lang.InstantiationError: javax.jmdns.JmDNS
  2. 0

    Can't get basic Zeroconf example to work.

    logging-log4j-user | 8 years ago | Adamides, Paul O
    java.lang.InstantiationError: javax.jmdns.JmDNS

    Root Cause Analysis

    1. java.lang.InstantiationError

      javax.jmdns.JmDNS

      at org.apache.log4j.net.Zeroconf4log4j.<clinit>()
    2. Apache Log4j
      Logger.getLogger
      1. org.apache.log4j.net.Zeroconf4log4j.<clinit>(Zeroconf4log4j.java:23)
      2. org.apache.log4j.net.ZeroConfSocketHubAppender.activateOptions(ZeroConfSocketHubAppender.java:45)
      3. org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
      4. org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
      5. org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
      6. org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
      7. org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
      8. org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
      9. org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
      10. org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
      11. org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
      12. org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
      13. org.apache.log4j.Logger.getLogger(Logger.java:118)
      13 frames
    3. chainsawtest
      ChainsawTest.<clinit>
      1. chainsawtest.ChainsawTest.<clinit>(ChainsawTest.java:15)
      1 frame