Changed from configureEntityManagerFactory() to entityManagerFactory()