]
Emmanuel Bernard resolved OGM-83.
---------------------------------
Resolution: Duplicate
Thanks for the report. Sanne fixed this a while ago with OGM-87
NoSuchMethodError at
CacheManagerServiceProvider.createCustomCacheManager
-------------------------------------------------------------------------
Key: OGM-83
URL:
http://opensource.atlassian.com/projects/hibernate/browse/OGM-83
Project: Hibernate OGM
Issue Type: Bug
Components: core
Affects Versions: 3.0.0.Alpha2
Environment: Hibernate 3.6.4 final
Infinispan 5.0.0 CR7
Reporter: raul davidovich
method CacheManagerServiceProvider.createCustomCacheManager calls
InfinispanConfiguration.newInfinispanConfiguration(
String configFileName, String schemaFileName, ConfigurationValidatingVisitor cbv);
InfinispanConfiguration configuration =
InfinispanConfiguration.newInfinispanConfiguration(
cfgName, InfinispanConfiguration.resolveSchemaPath(),
new ConfigurationValidatingVisitor());
but the Infinispan API does not have this method as of 5.0.0 CR7
the most similar method available in the Infinispan API is
InfinispanConfiguration.newInfinispanConfiguration(String configFileName, String
schemaFileName, ConfigurationBeanVisitor cbv, ClassLoader cl)
Result is
java.lang.NoSuchMethodError:
org.infinispan.config.InfinispanConfiguration.newInfinispanConfiguration(Ljava/lang/String;Ljava/lang/String;Lorg/infinispan/config/ConfigurationBeanVisitor;)Lorg/infinispan/config/InfinispanConfiguration;
at
org.hibernate.ogm.datastore.infinispan.impl.CacheManagerServiceProvider.createCustomCacheManager(CacheManagerServiceProvider.java:126)
at
org.hibernate.ogm.datastore.infinispan.impl.CacheManagerServiceProvider.start(CacheManagerServiceProvider.java:80)
at
org.hibernate.ogm.metadata.GridMetadataManager.sessionFactoryCreated(GridMetadataManager.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:478)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
at
org.hibernate.ogm.jpa.HibernateOgmPersistence.createContainerEntityManagerFactory(HibernateOgmPersistence.java:142)
at
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
at
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 17 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: