Hi,
I developed a plugin with aseleuim JUnit testing a few month back, recently I had to make som changes to it so I tried to recompile and package it but all the tests keeps failing ( even before I chnage anything), every tests throws the following error:
java.lang.NoClassDefFoundError: Could not initialize class net.java.ao.db.HSQLDatabaseProvider
And at the very top of the stack I get this error:
java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
these tests passed a few months back and besides upating the amps to 5.0.4 I have not changed the code.
Please help.
Thanks
Community moderators have prevented the ability to post new answers.
I actually fixed it already by adding this to my pom: <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>11.0.2-atlassian-01</version> <scope>test</scope> </dependency> I'm still on AO version 0.19.12 though. I guess I should update this asap. Thanks your your help!
Sorry mate, dont remember how I fixed it. It something in the pom version of one of the dependencies. Im using AO 0.25.2 and sauce_junit version 2.1.9 also Im using selenium-java version 2.43.1 Any of these help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having the same problem. Could you solve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.