Reputation: 63
I'm new to static code analysis and wanted to experiment with Joern. I'm able to run the cli tool successfully. But I'm having trouble building and packaging the application from source. Below is what I am getting
sbt clean compile stage
[info] welcome to sbt 1.10.7 (Homebrew Java 11.0.23)
[info] loading settings for project joern-build from meta-build.sbt, plugins.sbt...
[info] loading project definition from /joern/project
/joern/joern-cli/build.sbt:144: error: overloaded method value newFileSystem with alternatives:
(x$1: java.nio.file.Path,x$2: ClassLoader)java.nio.file.FileSystem <and>
(x$1: java.net.URI,x$2: java.util.Map[String, _],x$3: ClassLoader)java.nio.file.FileSystem <and>
(x$1: java.net.URI,x$2: java.util.Map[String, _])java.nio.file.FileSystem
cannot be applied to (java.nio.file.Path)
val zipFs = FileSystems.newFileSystem(jar)
^
[error] Type error in expression
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)
Been stuck on this for a while, any help would be greatly appreciated.
Upvotes: 0
Views: 16