Hi all!
I'm trying to implement easy example with Active Objects.
https://developer.atlassian.com/server/framework/atlassian-sdk/the-active-objects-library/
I want to create Entity Manager. In Runtime it failed with
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;
at net.java.ao.db.MySQLDatabaseProvider.<clinit>(MySQLDatabaseProvider.java:204) ~[activeobjects-plugin-3.0.0-m01.jar:na]
at net.java.ao.builder.SupportedDatabase$1.getDatabaseProvider(SupportedDatabase.java:27) ~[activeobjects-plugin-3.0.0-m01.jar:na]
at net.java.ao.builder.DatabaseProviderFactory.getDatabaseProvider(DatabaseProviderFactory.java:8) ~[activeobjects-plugin-3.0.0-m01.jar:na]
at net.java.ao.builder.EntityManagerBuilderWithDatabaseProperties.build(EntityManagerBuilderWithDatabaseProperties.java:40) ~[activeobjects-plugin-3.0.0-m01.jar:na]
I used activeobjects-plugin 2.0.0 and 3.0.0-m01 for test and guava 26.0.
As I see problem may be with dependencies, may be with google-collections.
Please help to resolve issue.
It was conflict between guava & google-collections, I just removed guava dependency.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.