[Soot-list] Error "couldn't find class: javax.crypto.spec.DESKeySpec" in running CallGraphExample

Xinxin Jin xinxinjin at hotmail.com
Wed Jan 14 20:32:15 EST 2015


Hi,

I am trying to run the call graph example under soot/tutorial/guide (
https://github.com/Sable/soot/tree/develop/tutorial/guide/examples/call_graph/src
).

It successfully compiled and generated CallGraphExample.class. Then I
execute the following command:
*java -Xmx512m -cp <soot> CallGraphExample -soot-class-path
/lib/jvm/jdk1.7.0_72/jre/lib/rt.jar:.*

I got this error message:
*soot.SootResolver$SootClassNotFoundException: couldn't find class:
javax.crypto.spec.DESKeySpec (is your soot-class-path set properly?)*
* at soot.SootResolver.bringToHierarchy(SootResolver.java:220)*
* at soot.SootResolver.bringToSignatures(SootResolver.java:255)*
* at soot.SootResolver.bringToBodies(SootResolver.java:291)*
* at soot.SootResolver.processResolveWorklist(SootResolver.java:165)*
* at soot.SootResolver.resolveClass(SootResolver.java:130)*
* at soot.Scene.tryLoadClass(Scene.java:662)*
* at soot.Scene.loadBasicClasses(Scene.java:1258)*
* at soot.Scene.loadNecessaryClasses(Scene.java:1337)*
* at soot.Main.run(Main.java:214)*
* at soot.Main.main(Main.java:152)*
* at
dk.brics.soot.callgraphs.CallGraphExample.main(CallGraphExample.java:62)*


I'm sure I set soot path <soot> correctly. I also include the path to
rt.jar and CallGraphExample to -soot-class-path. I didn't encounter this
problem in other programs before, so I'm really confused why it fails... Is
it because javax.crypto.spec.DESKeySpec is located in another jar file ?

Thanks a lot !!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150114/e1911b88/attachment.html 


More information about the Soot-list mailing list