[Soot-list] CLASSPATH problem in analyzing web application

Eric Bodden eric.bodden at ec-spride.de
Sun Jul 29 11:40:53 EDT 2012


Hi Jafar.

Usually those things are usage errors. Are you sure your classpath is
correct? Can you post it?

Cheers,
Eric

On 28 July 2012 17:29, Jafar Mirzaei <jm.csh2009 at gmail.com> wrote:
> Hello
>
> I hope my emails didn't go over the your heads
>
>
> I want to analysis a java web application(callgraph for whole program) but
> get this exception:
>
> Exception in thread "main" java.lang.RuntimeException: couldn't find class:
> org.eclipse.jetty.util.S
> canner$BulkListener (is your soot-class-path set properly?)
> at soot.SootResolver.bringToHierarchy(SootResolver.java:205)
> at soot.SootResolver.bringToSignatures(SootResolver.java:239)
> at soot.SootResolver.bringToBodies(SootResolver.java:280)
> at soot.SootResolver.processResolveWorklist(SootResolver.java:150)
> at soot.SootResolver.resolveClass(SootResolver.java:124)
> at soot.Scene.loadClass(Scene.java:448)
> at soot.Scene.loadClassAndSupport(Scene.java:433)
>
> In  calsspath files there is  jar file(jetty-util-6.1.3.jar) which contain
> this class(Scanner$BulkListener) with  package address org.mortbay.util; !
>
> I can solve that by adding a jar file that contain Scanner$BulkListener with
> org.eclipse.jetty.util Package address to calsspath but maybe cause problem
> later.
>
> I tested for 5 web application but....
>
> Where is problem? Are any way to solve this problem?
>
> sorry my English is so bad and can't understand what I want...
> thanks
>



-- 
Eric Bodden, Ph.D., http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list