run jar file into databricks

seefoods
Valued Contributor

I have created a job which run a jar files, but i have this error

NoClassDefFoundError: com/google/cloud/hadoop/gcsio/GoogleCloudStorageFileSystemOptions$TimestampUpdatePredicate

Caused by: ClassNotFoundException: com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions$TimestampUpdatePredicate.

Somebody knows how can i solve this issue?

Many thanks

Cordially,

Aubert

aiNdata
New Contributor II

Hey Aubert, seems you are missing dependent class in jar. Either package the dependent classes in jar or add them into class path.