我在运行SOOT API时遇到问题。我正在使用
java -cp soot-2.5.0.jar soot.Main -f jimple test
我遇到以下错误:
Exception in thread "main" java.lang.RuntimeException: Could not load classfile: java.io.ObjectInputStream at
at soot.coffi.Util.resolveFromClassFile(Util.java:75)
at soot.CoffiClassSource.resolve(CoffiClassSource.java:39)
at soot.SootResolver.bringToHierarchy(SootResolver.java:215)
at soot.SootResolver.processResolveWorklist(SootResolver.java:155)
at soot.SootResolver.resolveClass(SootResolver.java:124)
at soot.Scene.tryLoadClass(Scene.java:417)
at soot.Scene.loadBasicClasses(Scene.java:990)
at soot.Scene.loadNecessaryClasses(Scene.java:1061)
at soot.Main.run(Main.java:167)
at soot.Main.main(Main.java:141)
如何扭转这种局面?
类路径上缺少标准库。尝试-pp