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,
  • Kryo deserialization of HashMap fails with Spark
    via Stack Overflow by dnivog
    ,
  • Error Deploying HelloWorldBPELProcess
    via by user576143,
    • java.lang.ClassNotFoundException: oracle.jrf.JRFServerScopedService 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:621) 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:279) 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$2$1.run(JMXFrameworkProviderImpl.java:938) at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$2.run(JMXFrameworkProviderImpl.java:933) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

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