java.lang.ClassNotFoundException

org.apache.cordova.whitelist.WhitelistPlugin

Samebug tips2

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.

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

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

Solutions on the web1

  • org.apache.cordova.whitelist.WhitelistPlugin
  • Stack trace

    • java.lang.ClassNotFoundException: org.apache.cordova.whitelist.WhitelistPlugin at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:217) at java.lang.Class.forName(Class.java:172) at org.apache.cordova.PluginManager.instantiatePlugin(PluginManager.java:345) at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:189) at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:114) at org.apache.cordova.PluginManager.init(PluginManager.java:92) at org.apache.cordova.CordovaWebView.loadUrlIntoView(CordovaWebView.java:383) at org.apache.cordova.CordovaWebView.loadUrlIntoView(CordovaWebView.java:368) at org.apache.cordova.CordovaWebView.loadUrl(CordovaWebView.java:344) at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:389) at com.example.android.CordovaApp.onCreate(CordovaApp.java:34) at android.app.Activity.performCreate(Activity.java:5104) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) at android.app.ActivityThread.access$600(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method)

    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

    15 times, 2 months ago
    26 times, 12 hours ago
    30 times, 3 days ago
    Once, 6 days ago
    Once, 2 weeks ago
    468 more bugmates