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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.