Open omarjarkas1997 opened 2 years ago
The file name is CallGraph.java
and your class name is CallGraphs
(with an s at the end) -> Java class and file name do not fit together.
Thank you for your comment. That's a typo in the issue I logged. Apologies. The issue still exists.
Can I work on this issue?
This seems to be a user error. I don't see that the original post specifies a process-dir
in which Soot shall look for the classes.
Feel free to give an intro to Soot configuration to help the original user.
Hello,
I'm trying to run the below call graph example in maven. My maven file tree is as follows with package
com.mycompany.app
Both
CallGraphExample.java
andCallGraph.java
are under the same packagecom.mycompany.app
;CallGraphExample.java
CallGraph.java
Since both are under the same package. I change the arguments from
testers.CallGraphs
tocom.mycompany.app.CallGraphs
.Despite making sure of the packages by printing
System.out.println(cg.getClass().getName());
--->com.mycompany.app.CallGraphs
, i'm still gettingcouldn't find class: com.mycompany.app.CallGraphs (is your soot-class-path set properly?)
error. the full error is below.Any help would be much appreciated.