GATLING_HOME is set to /Users/zgarbowitz/dev/gatling
11:05:04.209 [ERROR] i.g.a.ZincCompiler$ - /Users/zgarbowitz/dev/gatling/user-files/simulations/example/ExampleSimulation.scala:9: not found: value CustomParamEncoder
11:05:04.211 [ERROR] i.g.a.ZincCompiler$ - CustomParamEncoder.encode(paramString)
11:05:04.212 [ERROR] i.g.a.ZincCompiler$ - ^
11:05:04.414 [ERROR] i.g.a.ZincCompiler$ - one error found
Compilation failed
Both files are in the same package. I'm doing my text editing in IntelliJ, and the IntelliJ auto-complete recognizes the class as being present just fine. But when I actually run it through gatling.sh it doesn't recognize the symbol.
Has anyone else done something similar to this, or have any ideas for how to get the gatling compiler to recognize the java file? Is it possible it's set to only consider scala files it finds in user-files, but not java files? Any help would be much appreciated.
Thanks,
Zack
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Since they are in the same package, shouldn't adding an import be unnecessary? When I do add the import, it throws a second error saying 'object CustomParamEncoder' is not a member of package 'example'.
Also, doesn't the gatling.sh script add $GATLING_HOME/user-files to the class path automatically? I tried also adding $GATLING_HOME/user-files/simulations/example to the class path, but that made no difference.