Hi,
i’ve tried this morning to use the gatling maven plugin.
build successfull with dependencies download, local repository updated on first build and finally failed on mvn gatling:execute
I’ve tried to add the dependency in the plugin declaration but the problem still there
[INFO] — gatling-maven-plugin:1.2.0:execute (default-cli) @ MyProject —
[WARNING] The POM for com.excilys.ebi.gatling:gatling-app:jar:1.2.0 is missing, no dependency information available
[INFO] java.lang.NoClassDefFoundError: grizzled/slf4j/Logging
[INFO] at java.lang.ClassLoader.defineClass1(Native Method)
[INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
[INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
[INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
[INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
[INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[INFO] Caused by: java.lang.ClassNotFoundException: grizzled.slf4j.Logging
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[INFO] … 12 more
Any idea on what happened ?
Hi Ludovic,
It is strange, everything seems normal on our Maven repository.
Maybe your downloaded files are corrupted or something like this. Did you try to delete the gatling artifacts from your local repo so they can be re-downloaded ?
Cheers,
Romain
Hi,
This class is located in grizzled-slf4j that is hosted in maven central, not in our Nexus:
http://search.maven.org/#artifactdetails%7Corg.clapper%7Cgrizzled-slf4j_2.9.2%7C0.6.9%7Cjar
Maybe the jar in your local maven repository is corrupted (try to unzip it). Could you remove it so it can be downloaded again?
Cheers,
Stephane
2012/6/5 Romain Sertelon <bluepyth@gmail.com>
Thanks for help,
Some jars were corrupted, after removed those concerned i got a new problem.Some dependencies are missing :
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MyProject 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — gatling-maven-plugin:1.2.0:execute (default-cli) @ MyProject —
Downloading: http://ourNexus/com/typesafe/akka/akka-actor/2.0.2-RC1/akka-actor-2.0.2-RC1.pom
[WARNING] The POM for com.typesafe.akka:akka-actor:jar:2.0.2-RC1 is missing, no dependency information available
Downloading: http://ourNexus/jaxen/jaxen/1.1.4/jaxen-1.1.4.pom
[WARNING] The POM for jaxen:jaxen:jar:1.1.4 is missing, no dependency information available
Downloading: http://ourNexus/com/twitter/util-core_2.9.1/3.0.0/util-core_2.9.1-3.0.0.pom
[WARNING] The POM for com.twitter:util-core_2.9.1:jar:3.0.0 is missing, no dependency information available
Downloading: http://ourNexus/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.pom
[WARNING] The POM for xerces:xercesImpl:jar:2.11.0 is missing, no dependency information available
Downloading: http://ourNexus/com/typesafe/akka/akka-actor/2.0.2-RC1/akka-actor-2.0.2-RC1.jar
Downloading: http:// ourNexus/jaxen/jaxen/1.1.4/jaxen-1.1.4.jar
Downloading: http:// ourNexus/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar
Downloading: http:// ourNexus/com/twitter/util-core_2.9.1/3.0.0/util-core_2.9.1-3.0.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.813s
[INFO] Finished at: Tue Jun 05 16:11:25 CEST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
What are the repositories used by gatling to get those missing pom ?
Hi,
If I remember well, it should be ours.
<repository>
<id>excilys</id>
<name>Excilys Repository</name>
<url>[http://repository.excilys.com/content/groups/public](http://repository.excilys.com/content/groups/public)</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
Cheers,
Romain
For the record, the documentation already existed on the wiki for this, but I’ve just clean it up:
https://github.com/excilys/gatling/wiki/Maven-plugin#wiki-repositories
Cheers,
Stephane
2012/6/5 Romain Sertelon <bluepyth@gmail.com>
Hi,
We still have some problem to use the plugin, after the update (http://repository.excilys.com/content/groups/public/) of our nexus, we have some erros log :
(artifact concerned : http://repository.excilys.com/content/groups/public/com/typesafe/akka/akka-actor/)
Warning, the artifact /.meta/repository-metadata.xml has no remote checksum in repository excilys! The file ‘repository-metadata.xml’ in repository ‘excilys-release’ with path ‘/.meta/repository-metadata.xml’ was proxied, and the remote repository contains wrong checksum for it. Details: Warning, the artifact /.meta/repository-metadata.xml has no remote checksum in repository excilys!
I see in the gatling-parent-1.2.0.pom a reference to <akka.version>2.0.2-RC1</akka.version> but all i see when browsing the remote is :
this should not he be 2.0.2 or 2.0.1-RC1 ?
It had been deleted by mistake.
It’s up again.
2012/6/6 Ludovic Mercier <ludovic.mercier.lm@gmail.com>
Just have a try and it seems to be ok; my simulation was launched and executed successfully.
thanks for all.
Sorry for the mess.
Cheers,
Stephane
2012/6/7 Ludovic Mercier <ludovic.mercier.lm@gmail.com>