java.lang.ClassNotFoundException: com/sun/crypto/provider/PBEKeyFactory


Samebug tips

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}


7 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 web

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
com/sun/crypto/provider/PBEKeyFactory

Solution icon of googlegroups
via Google Groups by Michael Bartlett, 1 year ago
com/sun/jndi/ldap/LdapCtxFactory

Solution icon of oraclecommunity
via Oracle Community by 843859, 10 months ago
com/mysql/jdbc/Driver

Solution icon of web
com/sybase/ejb/InitialContextFactory

Solution icon of web
via mathworks.com by Unknown author, 1 year ago
com/mysql/jdbc/Driver

Solution icon of oraclecommunity
via Oracle Community by 807606, 7 months ago
com/company/threeN21/ui/user/UserGroupPermission

Solution icon of github
com/sun/deploy/ui/DialogTemplate

Solution icon of oraclecommunity
via Oracle Community by 843793, 1 year ago
com/sun/jndi/cosnaming/CNCtxFactory

Solution icon of oraclecommunity
via Oracle Community by 807581, 1 year ago
com/sun/jndi/cosnaming/CNCtxFactory

Solution icon of oraclecommunity
via Oracle Community by 843830, 1 year ago
com/sun/jndi/cosnaming/CNCtxFactory

Stack trace

java.lang.ClassNotFoundException: com/sun/crypto/provider/PBEKeyFactory
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:190)

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

384 times, 2 days ago
3 times, 3 days ago
2 times, 1 week ago
209 times, 1 week ago
50 times, 1 week ago
324 more bugmates