HPE Ezmeral Software platform
1835141 Members
3382 Online
110077 Solutions
New Discussion

dealing with Classpath not found error

 
prusyn
Occasional Contributor

dealing with Classpath not found error

Hi team,

Recently, i started getting weird exception mentioning something about classpath not found. I believe i miss some libraries or they are outdated or broken..

Can anyone suggest a way to find if there is JAR file with specific Java class in it?

Thanks!

1 REPLY 1
maksym_oliinyk
Visitor

Re: dealing with Classpath not found error

Try to find JAR file as shown below (just change you ClassPath):

$ find /opt/mapr/spark/ -name "*.jar" -exec sh -c 'jar -tf {} | grep -H --label {} org.apache.hadoop.io.RawComparator' \;