[Soot-list] Exception while soot starting

Bodden, Eric eric.bodden at sit.fraunhofer.de
Tue Oct 14 02:18:18 EDT 2014


This should definitely work. Where did you get your soot.jar from?

Eric

On 13.10.2014, at 22:25, Roman Petriev <vvpiroman at gmail.com> wrote:

> For example: I want to show help text (cmd = "java -jar soot.jar --help" or "java -cp soot.jar soot.Main --help").
> 
> 2014-10-13 14:26 GMT+04:00 Bodden, Eric <eric.bodden at sit.fraunhofer.de>:
> Help us help you.
> 
> What is your command line? What are you trying to achieve?
> 
> Eric
> 
> On 11.10.2014, at 16:11, Roman Petriev <vvpiroman at gmail.com> wrote:
> 
> > Hi, soot users!
> > I can't start soot. I can't do anything with it(help isn't shown)!
> > I saw some guides, but it didn't help me. Exception:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError: org/jf/dexlib2/iface/
> > value/EncodedValue
> >         at soot.PackManager.<init>(PackManager.java:537)
> >         at soot.Singletons.soot_PackManager(Singletons.java:472)
> >         at soot.PackManager.v(PackManager.java:344)
> >         at soot.Main.processCmdLine(Main.java:95)
> >         at soot.Main.run(Main.java:208)
> >         at soot.Main.main(Main.java:152)
> > Caused by: java.lang.ClassNotFoundException: org.jf.dexlib2.iface.value.EncodedV
> > alue
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         ... 6 more
> >
> > And I use "-cp" command line parameter to link dexlib2-2.0.3-sources.jar, but it has no effect :(
> > What's wrong?
> >
> > P.s. soot-trunk, jdk 1.7
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> 
> --
> Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
> Tel: +49 6151 16-75422    Fax: +49 6151 869-127
> Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt
> 
> 

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141014/589d9b1e/attachment.bin 


More information about the Soot-list mailing list