4

I'm trying to use IntelliJ IDEA for my UnetStack Project.

I'm following this blog

https://blog.unetstack.net/using-idea-with-unetstack

I get this error when done following this:

Error: Could not find or load main class org.codehaus.groovy.tools.GroovyStarter

pr0py_s
  • 171
  • 9

1 Answers1

2

I had the same issue.

This happened to you because you ran your simulation as a groovy script and not as the configured application. Run it as application and groovyStarter will not even be used.

Prajval M
  • 2,298
  • 11
  • 32
  • Could you tell me how you configured it as a groovy script? I will update that blog post to make it clearer that it should be configured as an application if you can tell me how you initially conifgured it. – shortstheory Aug 23 '19 at 18:26
  • you can't run it as a groovy script because unetstack itself has groovy libraries which have to be linked. – Prajval M Aug 23 '19 at 18:27