There’s not enough information to help you. Please check How to Ask a Question - #2
- How do you use Gatling? bundle? maven? gradle? sbt?
- What’s your platform?
- Have you checked that the Java version you’re actually using is really the one you think it is? eg print it in your Simulation:
System.out.println("java.version=" + System.getProperty("java.version"))
System.out.println("os.name=" + System.getProperty("os.name"))
System.out.println("os.version=" + System.getProperty("os.version"))
System.out.println("os.arch=" + System.getProperty("os.arch"))