java.lang.ClassNotFoundException

jmri.jmrix.roco.z21.configurexml.Z21XNetTurnoutManagerXml

Samebug tips10

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"


rafaelrafael

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.


rafaelrafael

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

Solutions on the web15143

  • Stack trace

    • java.lang.ClassNotFoundException: jmri.jmrix.roco.z21.configurexml.Z21XNetTurnoutManagerXml at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:260) at jmri.configurexml.ConfigXmlManager.confirmAdapterAvailable(ConfigXmlManager.java:68) at jmri.configurexml.ConfigXmlManager.registerConfig(ConfigXmlManager.java:131) at jmri.implementation.JmriConfigurationManager.registerConfig(JmriConfigurationManager.java:75) at jmri.managers.AbstractManager.registerSelf(AbstractManager.java:43) at jmri.managers.AbstractManager.<init>(AbstractManager.java:27) at jmri.managers.AbstractTurnoutManager.<init>(AbstractTurnoutManager.java:20) at jmri.jmrix.lenz.XNetTurnoutManager.<init>(XNetTurnoutManager.java:24) at jmri.jmrix.roco.z21.Z21XNetTurnoutManager.<init>(Z21XNetTurnoutManager.java:21) at jmri.jmrix.roco.z21.Z21XNetInitializationManager.init(Z21XNetInitializationManager.java:49) at jmri.jmrix.lenz.AbstractXNetInitializationManager.<init>(AbstractXNetInitializationManager.java:51) at jmri.jmrix.lenz.XNetInitializationManager.<init>(XNetInitializationManager.java:19) at jmri.jmrix.roco.z21.Z21XNetInitializationManager.<init>(Z21XNetInitializationManager.java:22) at jmri.jmrix.roco.z21.Z21XNetStreamPortController.configure(Z21XNetStreamPortController.java:27) at jmri.jmrix.roco.z21.Z21XPressNetTunnel.<init>(Z21XPressNetTunnel.java:67) at jmri.jmrix.roco.z21.Z21SystemConnectionMemo.configureManagers(Z21SystemConnectionMemo.java:140) at jmri.jmrix.roco.z21.simulator.Z21SimulatorAdapter.configure(Z21SimulatorAdapter.java:62) at jmri.jmrix.roco.z21.simulator.Z21SimulatorAdapterTest.testConnection(Z21SimulatorAdapterTest.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:523) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1063) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:914)

    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

    jkjk
    422 times, last one
    Unknown visitor
    Unknown visitorOnce,
    BuggerBugger
    18 times, last one
    ChristopherChristopher
    Once,
    Unknown visitor
    Unknown visitorOnce,
    1380 more bugmates