Interesting I was seeing the problem when using selenium with groovy. On 18 Aug 2015 03:53, "William Markito" <wmark...@pivotal.io> wrote:
> Hi folks, > > Any recommendations for the following problem ? I'm not sure it's a > problem on Geode implementation.. > > Thanks! > > ---- Groovy Code -- > > @GrabResolver(name='asf-snapshots', > root="https://repository.apache.org/content/repositories/snapshots") > @Grapes( > @Grab(group="org.apache.geode", module = "gemfire-core", version = > "1.0.0-incubating-SNAPSHOT") > ) > > import com.gemstone.gemfire.cache.client.ClientCache > import com.gemstone.gemfire.cache.client.ClientCacheFactory > > > cache = new ClientCacheFactory() > .addPoolLocator("localhost", 10334) > .create(); > > ----- > ------ Exception > > Caught: java.lang.LinkageError: loader constraint violation in interface > itable initialization: when resolving method > "com.gemstone.gemfire.internal.cache.control.InternalResourceManager$DummyMemoryPoolMXBean.getObjectName()Ljavax/management/ObjectName;" > the class loader (instance of org/codehaus/groovy/tools/RootLoader) of the > current class, > com/gemstone/gemfire/internal/cache/control/InternalResourceManager$DummyMemoryPoolMXBean, > and the class loader (instance of <bootloader>) for interface > java/lang/management/PlatformManagedObject have different Class objects for > the type javax/management/ObjectName used in the signature > [info 2015/08/17 18:36:43.352 PDT <Distributed system shutdown hook> > tid=0xe] VM is exiting - shutting down distributed system > java.lang.LinkageError: loader constraint violation in interface itable > initialization: when resolving method > "com.gemstone.gemfire.internal.cache.control.InternalResourceManager$DummyMemoryPoolMXBean.getObjectName()Ljavax/management/ObjectName;" > the class loader (instance of org/codehaus/groovy/tools/RootLoader) of the > current class, > com/gemstone/gemfire/internal/cache/control/InternalResourceManager$DummyMemoryPoolMXBean, > and the class loader (instance of <bootloader>) for interface > java/lang/management/PlatformManagedObject have different Class objects for > the type javax/management/ObjectName used in the signature > >