# java.lang.ClassNotFoundException: null

**URL:** <https://community.gatling.io/t/java-lang-classnotfoundexception-null/6968>\
**Category:** Gatling (Open-Source)\
**Created:** [July 26, 2022, 10:43am UTC](https://community.gatling.io/t/java-lang-classnotfoundexception-null/6968 "2022-07-26T10:43:56Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![GeMi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gemi/32/939_2.png) [@GeMi](https://community.gatling.io/u/GeMi)\
**Post date:** [August 5, 2022, 3:27pm UTC](https://community.gatling.io/t/java-lang-classnotfoundexception-null/6968/21 "2022-08-05T15:27:36Z")

</div>

I have checked Gatling on latest openjdk docker image and everything is working 😃

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/fc1b012f4fbad07b1846f642fa498a2c2d7b63e5.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/0bc2cc64c9c22f9010ca94da54f6a3403925d6b9.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/5ea9bfacb8d399832302547cdd3a2d611ad8f134.png)

So I started wondering why you have problem.  
I have take you Dockerfile and after some tests I changed ENTRYPOINT from Exec to Shell type and it’s working.  
Dockerfile:

```auto
# Gatling is a highly capable load testing tool.
#
# Documentation: https://gatling.io/docs/3.2/
# Cheat sheet: https://gatling.io/docs/3.2/cheat-sheet/

FROM openjdk:17-jdk-alpine

MAINTAINER Nadezhda Ryabtsova <nadezhdaryabtsova@gmail.com>

# working directory for gatling
WORKDIR /opt

# gating version
ENV GATLING_VERSION 3.8.3

# create directory for gatling install
RUN mkdir -p gatling

# install gatling
RUN apk add --update wget bash libc6-compat && \
  mkdir -p /tmp/downloads && \
  wget -q -O /tmp/downloads/gatling-$GATLING_VERSION.zip \
  https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/$GATLING_VERSION/gatling-charts-highcharts-bundle-$GATLING_VERSION-bundle.zip && \
  mkdir -p /tmp/archive && cd /tmp/archive && \
  unzip /tmp/downloads/gatling-$GATLING_VERSION.zip && \
  mv /tmp/archive/gatling-charts-highcharts-bundle-$GATLING_VERSION/* /opt/gatling/ && \
  rm -rf /tmp/*

# change context to gatling directory
WORKDIR /opt/gatling

# set directories below to be mountable from host
VOLUME ["/opt/gatling/conf", "/opt/gatling/results", "/opt/gatling/user-files"]

# set environment variables
ENV PATH /opt/gatling/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GATLING_HOME /opt/gatling

ENTRYPOINT gatling.sh -rm local -s computerdatabase.ComputerDatabaseSimulation

```

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/5cf3e17607506ac9b9207586cb3c4d0bb108878c.png)

[Previous page](https://community.gatling.io/t/java-lang-classnotfoundexception-null/6968.md?page=1)
