UnsatisfiedDependencyException во время запуска сервера - PullRequest
0 голосов
/ 29 марта 2019

Я обновляю приложение Grails с 2.x до 3.3.9. Я столкнулся с UnSatisfiedDependencyException со стеком трассировки, что я не понимаю. След стека находится ниже. Интересно то, что в конце сообщения трассировки стека написано - не удалось определить тип для .... PlatformTransactionManager в таблице - «имя таблицы», для столбца - «action_manager ». В таблице нет НИКОГО столбца с таким именем, ИЛИ он определен в объекте домена.

Exception encountered during context initialization - cancelling 
refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'methodValidationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: 
Unsatisfied dependency expressed through method 'methodValidationPostProcessor' parameter 0; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'hibernateDatastoreServiceRegistry': Cannot resolve reference to bean 'hibernateDatastore' while setting constructor argument; 
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateDatastore': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.grails.orm.hibernate.HibernateDatastore]: 
Constructor threw exception; nested exception is org.hibernate.MappingException:  

Could not determine type for: org.springframework.transaction.PlatformTransactionManager, at table: TABLE_A, for columns: [org.hibernate.mapping.Column(transaction_manager)]
...