Hi All, We are trying to create some selenium scripts in order to test our site and we are using this project to log the results.
The problem we are having is that we are getting a class not found error when trying to use
import static com.unitedinternet.portal.selenium.utils.logging.LoggingAssert.assertTrue; java.lang.NoClassDefFoundError: org/hamcrest/Matcher Caused by: java.lang.ClassNotFoundException: org.hamcrest.Matcher at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Is this a bug on the application or is a problem with the groovyC
Thanks in advance for your help.
Hernan
Fixed:
Add this two libraries:
<dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.7</version> </dependency>
Log in to post a comment.
Hi All,
We are trying to create some selenium scripts in order to test our site and we are using this project to log the results.
The problem we are having is that we are getting a class not found error when trying to use
Is this a bug on the application or is a problem with the groovyC
Thanks in advance for your help.
Hernan
Fixed:
Add this two libraries:
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
</dependency>