java.lang.ClassNotFoundException: com.orientechnologies.security.ldap.OLDAPImporter


Samebug tips7

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}


6 months ago
Expert 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.


6 months ago
Expert tip

Solutions on the web1

Solution icon of stackoverflow
com.orientechnologies.security.ldap.OLDAPImporter

Stack trace

java.lang.ClassNotFoundException: com.orientechnologies.security.ldap.OLDAPImporter
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at com.orientechnologies.orient.server.security.ODefaultServerSecurity.getClass(ODefaultServerSecurity.java:129)
	at com.orientechnologies.orient.server.security.ODefaultServerSecurity.reloadImportLDAP(ODefaultServerSecurity.java:959)
	at com.orientechnologies.orient.server.security.ODefaultServerSecurity.loadComponents(ODefaultServerSecurity.java:751)
	at com.orientechnologies.orient.server.security.ODefaultServerSecurity.onAfterActivate(ODefaultServerSecurity.java:673)
	at com.orientechnologies.orient.server.OServer.activate(OServer.java:392)
	at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

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

2 times, 1 year ago
2 times, 2 days ago
2 times, 6 days ago
2 times, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
1709 more bugmates