[Passfault] Help with code

Cam Morris cam.morris at owasp.org
Mon Aug 29 18:26:28 UTC 2016


I'm guessing it is the setting of "Use classpath of Module: " needs to be
changed from "wordlist_test" to "core".  Is the whole intellij project
named 'wordlist_test'?

On Mon, Aug 29, 2016 at 11:23 AM, Bernardo Araujo Rodrigues <
bernardo at posgrad.ufg.br> wrote:

> Hey Cam, could you please help me with something?
> My Java skills are a bit rusty.
> I'm trying to import the project into IntelliJ, so I can play with the
> code.
>
> I used IntelliJ's gradle import function (had a few problems but deleting
> appEngine and jsonService folders solved the issue).
>
> Now I'm doing the Run/Debug configs (see attached screenshot).
>
> - Set Main Class to org.owasp.passfault.TextAnalysis
> - Set classpath to wordlists (just like in /core/build/install/core/bin/
> core)
>
> The thing is IntelliJ warns me: "Class 'org.owasp.passfault.TextAnalysis'
> not found in module 'wordlists'.
>
> If I ignore the warning and try to Run the code, I get this:
>
> Exception in thread "main" java.lang.ClassNotFoundException:
> org.owasp.passfault.TextAnalysis
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:264)
>         at com.intellij.rt.execution.application.AppMain.main(
> AppMain.java:123)
>
> Process finished with exit code 1
>
> _______________________________________________
> Passfault mailing list
> Passfault at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/passfault
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/passfault/attachments/20160829/6e9a16fa/attachment.html>


More information about the Passfault mailing list