I have described in several SO questions a problem I experienced while trying to work with the following project dependency structure combining Intellij Idea and sbt:
The ultimate goal is to be able to debug my proofs in all the levels of the stack. The program now builds by enabling the "use sbt for build and import" option in the Intellij Idea settings.
However, I'm getting the following run-time error:
Exception in thread "main" java.lang.NoClassDefFoundError: inox/ast/Types$Type
at Main$.main(Main.scala:9)
at Main.main(Main.scala)
Caused by: java.lang.ClassNotFoundException: inox.ast.Types$Type
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)
... 2 more
Here Main is the Main object in the proof I'm writing (so on top of the stack).
Why does this happen? How can I solve it?