grails test-app MetaDataAccessException after upgrade to mysql-connector-java:5.1.34 -
i upgraded mysql:mysql-connector-java:5.1.34 connector. grails version 2.2.4. mysql version 5.6.10. upgrading went smoothly, , application seems go fine. however, 1 of test apps failing.
following error happens:
error error executing script testapp: org.springframework.beans.factory.beancreationexception: error creating bean name 'transactionmanagerpostprocessor': initialization of bean failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'transactionmanager': cannot resolve reference bean 'sessionfactory' while setting bean property 'sessionfactory'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.springframework.jdbc.support.metadataaccessexception: error while extracting databasemetadata; nested exception java.sql.sqlexception: access denied user 'web'@'localhost' (using password: yes) (use --stacktrace see full trace)
i doublechecked web user, , far can tell account defined , has admin privs comparable root. has happened both on development box personal database , on our jenkins build system.
i don't see in logs, running --stacktrace not give me useful information, googling not show common error.
Comments
Post a Comment