Je veux configurer le plugin Hibernate5 à mon application Grails, j'utilise le graal 3.1.1. J'ai vérifié déjà cette question et je l'ai suivi: How to configure Grails 3.1.1 to use Hibernate 5Grails: ERREUR org.springframework.boot.SpringApplication - Le démarrage de l'application a échoué
Cependant, je reçois l'erreur suivante:
ERROR org.springframework.boot.SpringApplication - Application startup failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.grails.orm.hibernate.cfg.CollectionType.<init>(Ljava/lang/Class;Lorg/grails/orm/hibernate/cfg/GrailsDomainBinder;)V
Même problème mais uniquement les fenêtres. Mac fonctionne bien. –
J'ai le même problème dans Windows en utilisant Grails 3.1.2 –
Je n'ai pas encore mis à jour. Je suis toujours sur les grails 3.0.10 :(Je ne pouvais pas le résoudre – Ectoras