Forgive me if this has already been answered. I have searched to no avail. We had spark working for a while on a windows server 2008 R2 box until recently. Now when opening spark the error “Couldn’t load main class” appears and prevents spark from loading. Not sure if relevant but this server is a guest os on a vmware host. Any help will be greatly appreciated.
Java returns the following error when attempting to load spark:
Error: Could not find or load main class org.jivesoftware.launcher.Startup
I’ve searched for any file named anything similar to what the error says with no results. If the classes are stored in a file format that shares a similar name as the class, then this error is correct in not finding the main class. I’ve reinstalled spark with little luck. I’ve reinstalled java and spark. Puzzling…
Classes are not files, but internal part of Spark program, so you won’t find them with search. Can’t help. hard to tell what has changed and waht is causing such errors.
It should work normally if you reinstall spark(without uninstalling) and click on the “yes, update the existing installation” option. i also deleted spark file in appdata (C:\Users\username\AppData\Roaming\Spark) before reinstalling as deleting it didnt work.