ClassNotFoundException: Engine

I have just bought a macbook pro and installed IntelliJ. I have imported my Gatling project and it builds in IntelliJ.
However when I try to run ´Engine´ it failes with the following message:

/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -

Exception in thread “main” java.lang.ClassNotFoundException: Engine
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:260)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:116)

Do I need to build it with maven to get aloe the dependencies or dos IntelliJś Rebuild command make sure of this?

Thanx

Magnus

It looks like a classpath issue. Sometime module settings needs to be tweaked. i have attached a screenshot of mine. Also, Engine is src/test/

Yes, that was the problem. I have fires it noe. Thanks!