java.lang.ClassNotFoundException

tip

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}"

tip

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.

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

  • Unable to Start EM Console
    via by 1005818,
  • Error Deploying HelloWorldBPELProcess
    via by user576143,
  • Integrated ant - taskdef classloader issue
    via Stack Overflow by jabal
    ,
  • thread "main" java.lang.ClassNotFoundException
    via Stack Overflow by Don U
    ,
  • Hadoop: strange ClassNotFoundException
    via Stack Overflow by Bob
    ,
    • java.lang.ClassNotFoundException: oracle.dfw.jmx.DiagnosticsConfigMBean at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at oracle.as.jmx.framework.generic.spi.BaseJMXFrameworkProviderImpl.getConfigObjectMBeanAssociationInfo(BaseJMXFrameworkProviderImpl.java:284) at oracle.as.jmx.framework.PortableMBeanFactory.getConfigObjectMBeanAssociationInfo(PortableMBeanFactory.java:2361) at oracle.as.jmx.framework.PortableMBeanFactory.getConfigObjectMBeanAssociationInfo(PortableMBeanFactory.java:2291) at oracle.as.jmx.framework.wls.spi.ComponentMBeans.parseAndRegister(ComponentMBeans.java:163) at oracle.as.jmx.framework.wls.spi.ComponentMBeans.parseDescriptors(ComponentMBeans.java:210) at oracle.as.jmx.framework.wls.spi.ComponentMBeans.processServer(ComponentMBeans.java:235) at oracle.as.jmx.framework.wls.spi.ComponentMBeans.processServerDirectories(ComponentMBeans.java:274) at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerMBeans(ComponentMBeans.java:321) at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerMBeans(ComponentMBeans.java:309) at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl.initDomainRuntimeMBeanServer(JMXFrameworkProviderImpl.java:973) at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl.getDomainRuntimeMBeanServer(JMXFrameworkProviderImpl.java:799) at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$1$1.run(JMXFrameworkProviderImpl.java:857) at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$1$1.run(JMXFrameworkProviderImpl.java:855) at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$1.run(JMXFrameworkProviderImpl.java:853) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    aldrinleal
    1 times, last one,
    zsamboki
    1 times, last one,
    Pilleo
    2 times, last one,
    kimihanif
    1 times, last one,
    Unknown visitor1 times, last one,
    308 more bugmates