javax.management.ReflectionException

The MBean class could not be loaded

Samebug tips4

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

I had to build one fat jar that will include all dependencies from the other jars that i wanted to use.


ThZoisThZois

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5023

  • via Unknown by Unknown author,
  • via Unknown by taha yassine benbrahim,
  • via Unknown by maxOne,
  • Stack trace

    • javax.management.ReflectionException: The MBean class could not be loaded at com.sun.jmx.mbeanserver.MBeanInstantiator.loadClass(Unknown Source) at com.sun.jmx.mbeanserver.MBeanInstantiator.findClass(Unknown Source) at com.sun.jmx.mbeanserver.MBeanInstantiator.findClass(Unknown Source) at com.sun.jmx.mbeanserver.MBeanInstantiator.instantiate(Unknown Source) at com.sun.jmx.mbeanserver.MBeanInstantiator.instantiate(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.instantiate(Unknown Source) at org.jpos.q2.QFactory.instantiate(QFactory.java:79) at org.jpos.q2.Q2.deploy(Q2.java:479) at org.jpos.q2.Q2.deploy(Q2.java:294) at org.jpos.q2.Q2.run(Q2.java:186) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.jpos.simulator.TestRunner at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    PilleoPilleo
    21 times, last one
    mauritiusmauritius
    16 times, last one
    Unknown visitor
    Unknown visitor2 times, last one
    jokesterjokester
    Once,
    Unknown visitor
    Unknown visitorOnce,
    1506 more bugmates