java.lang.ClassNotFoundException

org.apache.log4j.varia.LogFilePatternReceiv er

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

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.

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

Solutions on the web9

  • via logging-log4j-user by Anoop Bhatti, 9 months ago
    org.apache.log4j.varia.LogFilePatternReceiv er
  • via logging-log4j-user by Anoop Bhatti, 9 months ago
    org.apache.log4j.varia.LogFilePatternReceiv er
  • via Pentaho BI Platform Tracking by Jake Cornelius, 1 year ago
    org.pentaho.platform.web.http.security.SecurityStartupFilt er
  • Stack trace

    • java.lang.ClassNotFoundException: org.apache.log4j.varia.LogFilePatternReceiv er at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:171) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:340) at org.apache.log4j.joran.action.PluginAction.begin(PluginAction.java:48) at org.apache.log4j.joran.spi.Interpreter.callBeginAction(Interpreter.java:239) at org.apache.log4j.joran.spi.Interpreter.startElement(Interpreter.java:131) at org.apache.log4j.joran.spi.JoranDocument$StartElementEvent.replay(JoranDocument.java:225) at org.apache.log4j.joran.spi.JoranDocument.replay(JoranDocument.java:113) at org.apache.log4j.joran.JoranConfigurator.doConfigure(JoranConfigurator.java:170) at org.apache.log4j.joran.JoranConfigurator.doConfigure(JoranConfigurator.java:89) at org.apache.log4j.chainsaw.LogUI.loadConfigurationUsingPluginClassLoader(LogUI.java:1892) at org.apache.log4j.chainsaw.LogUI.createChainsawGUI(LogUI.java:325) at org.apache.log4j.chainsaw.LogUI.main(LogUI.java:256)

    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

    Unknown user
    Once, 11 months ago
    25 times, 2 days ago
    30 times, 2 days ago
    Once, 5 days ago
    Once, 2 weeks ago
    1380 more bugmates