Cofoja not working in intellij

Answered

Coming from here

And tried this 

I am trying to run Cofoja contracts on Intellij. I would like to know how can I do it. Thanks

32 comments
Comment actions Permalink

Error in eclipse is:

Exception in thread "main" com.google.java.contract.PreconditionError: d > 0
at Natural.<init>.<pre>(Natural.java)
at Natural.<init>(Natural.java:37)
at Natural.main(Natural.java:71)
0
Comment actions Permalink

Please read the Cofoja docs, you have to run the application with -javaagent option pointing to the cofoja jar file:

1

Please sign in to leave a comment.