Consider defining a bean named 'entityManagerFactory' in your configuration.

NoSuchKey