# Error: Could not find or load main class Family

**URL:** <https://community.gatling.io/t/error-could-not-find-or-load-main-class-family/2866>\
**Category:** Gatling (Open-Source)\
**Created:** [March 16, 2016, 5:06am UTC](https://community.gatling.io/t/error-could-not-find-or-load-main-class-family/2866 "2016-03-16T05:06:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacky\_Huang](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jacky\_Huang](https://community.gatling.io/u/Jacky_Huang)\
**Post date:** [March 16, 2016, 5:06am UTC](https://community.gatling.io/t/error-could-not-find-or-load-main-class-family/2866/1 "2016-03-16T05:06:48Z")

</div>

```auto
Hi everyone,

```

```auto

```

```auto
I'm trying to run gatling on a proxy Jenkins server. But I'm getting the error message: Error: Could not find or load main class Family. Any ideas what could have cause this?

```

```auto

```

```auto

```

```auto
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f C:\jenkinslave\workspace\gatling\pom.xml clean gatling:execute
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Gatling 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] <b>--- maven-clean-plugin:2.5:clean (default-clean) @ gatling ---
</b>[INFO] Deleting C:\jenkinslave\workspace\gatling\target
[INFO] 
[INFO] <b>--- gatling-maven-plugin:2.1.7:execute (default-cli) @ gatling ---
</b>Error: Could not find or load main class Family
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.032 s
[INFO] Finished at: 2016-03-15T20:57:22-07:00
[INFO] Final Memory: 20M/114M
[INFO] ------------------------------------------------------------------------

```

---

<div class="post-metadata">

**Author:** ![morten\_bjoernsvik](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@morten\_bjoernsvik](https://community.gatling.io/u/morten_bjoernsvik)\
**Post date:** [March 16, 2016, 7:33am UTC](https://community.gatling.io/t/error-could-not-find-or-load-main-class-family/2866/2 "2016-03-16T07:33:14Z")

</div>

How does your pom look?, have you set the correct config  
And put your simulations under datafolder?  
src/test/resources/data

---

<div class="post-metadata">

**Author:** ![Jacky\_Huang](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jacky\_Huang](https://community.gatling.io/u/Jacky_Huang)\
**Post date:** [March 16, 2016, 7:16pm UTC](https://community.gatling.io/t/error-could-not-find-or-load-main-class-family/2866/3 "2016-03-16T19:16:36Z")

</div>

I only have one simulation.

\<project xmlns=“[http://maven.apache.org/POM/4.0.0](http://maven.apache.org/POM/4.0.0)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”

xsi:schemaLocation=“[http://maven.apache.org/POM/4.0.0](http://maven.apache.org/POM/4.0.0) [http://maven.apache.org/xsd/maven-4.0.0.xsd](http://maven.apache.org/xsd/maven-4.0.0.xsd)”\>

4.0.0

gatling

jar

Gatling

1.0.1-SNAPSHOT

\<project.build.sourceEncoding\>UTF-8\</project.build.sourceEncoding\>

\<gatling.version\>2.1.6\</gatling.version\>

\<gatling-plugin.version\>2.1.6\</gatling-plugin.version\>

\<scala-maven-plugin.version\>3.2.2\</scala-maven-plugin.version\>

io.gatling.highcharts

gatling-charts-highcharts

${gatling.version}

test

io.gatling

gatling-core

${gatling.version}

test

io.gatling

gatling-http

${gatling.version}

test

net.alchim31.maven

scala-maven-plugin

${scala-maven-plugin.version}

io.gatling

gatling-maven-plugin

${gatling-plugin.version}

getProcess

execute

com.gatling.simulation.CollabSimulation
