# Not able to run simulation through gatling.

**URL:** <https://community.gatling.io/t/not-able-to-run-simulation-through-gatling/4177>\
**Category:** Gatling (Open-Source)\
**Created:** [February 14, 2018, 6:24pm UTC](https://community.gatling.io/t/not-able-to-run-simulation-through-gatling/4177 "2018-02-14T18:24:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dipanjan\_Haldar](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Dipanjan\_Haldar](https://community.gatling.io/u/Dipanjan_Haldar)\
**Post date:** [February 14, 2018, 6:24pm UTC](https://community.gatling.io/t/not-able-to-run-simulation-through-gatling/4177/1 "2018-02-14T18:24:22Z")

</div>

When I try to run my simulation it throws the below exception: I have the

java.lang.reflect.InvocationTargetException  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at io.gatling.mojo.MainWithArgsInFile.runMain(MainWithArgsInFile.java:50)  
at io.gatling.mojo.MainWithArgsInFile.main(MainWithArgsInFile.java:33)  
Caused by: java.lang.NoSuchMethodError: org.asynchttpclient.netty.channel.DefaultChannelPool.(IILio/netty/util/Timer;)V  
at io.gatling.http.ahc.DefaultAhcFactory.newChannelPool(AhcFactory.scala:84)  
at io.gatling.http.ahc.DefaultAhcFactory.(AhcFactory.scala:143)  
at io.gatling.http.ahc.AhcFactory$.apply(AhcFactory.scala:46)  
at io.gatling.http.ahc.HttpEngine$.apply(HttpEngine.scala:40)

I can see that i have the following jars in the maven repo:

/Users/dipanjan.haldar/.m2/repository/org/asynchttpclient/async-http-client/2.0.37/async-http-client-2.0.37.jar,  
/Users/dipanjan.haldar/.m2/repository/org/asynchttpclient/async-http-client-netty-utils/2.0.37/async-http-client-netty-utils-2.0.37.jar,  
/Users/dipanjan.haldar/.m2/repository/org/asynchttpclient/netty-resolver-dns/2.0.37/netty-resolver-dns-2.0.37.jar,  
/Users/dipanjan.haldar/.m2/repository/org/asynchttpclient/netty-resolver/2.0.37/netty-resolver-2.0.37.jar,  
/Users/dipanjan.haldar/.m2/repository/org/asynchttpclient/netty-codec-dns/2.0.37/netty-codec-dns-2.0.37.jar,

Any idea about the problem?
