Juste changing Engine.scala, IDEPathHelper.scala and Recorder.Scala content thrown this exception :
Exception in thread “main” java.lang.NoClassDefFoundError: io/gatling/http/request/builder/AbstractHttpRequestWithBodyAndParamsBuilder
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2483)
at java.lang.Class.getConstructor0(Class.java:2793)
at java.lang.Class.newInstance(Class.java:345)
at io.gatling.core.runner.Runner.run(Runner.scala:36)
at io.gatling.app.Gatling.start(Gatling.scala:231)
at io.gatling.app.Gatling$.fromMap(Gatling.scala:52)
at Engine$delayedInit$body.apply(Engine.scala:13)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
at scala.App$class.main(App.scala:71)
at Engine$.main(Engine.scala:4)
at Engine.main(Engine.scala)
Caused by: java.lang.ClassNotFoundException: io.gatling.http.request.builder.AbstractHttpRequestWithBodyAndParamsBuilder
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
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)
In eclipse, I added a repository in maven section with this url :
http://repository.excilys.com/content/groups/public/archetype-catalog.xml
Then I created a new project a project with this maven archetype.
I should start from scratch a new project with the right archetype, but i don’t know with archetype-catalogue to use (or there is something I don’t understand…sorry for that)
Thanks