Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocalContainerEntityManagerFactoryBean cannot resolve setPackagesToScan #96

Closed
juanes1a opened this issue Oct 26, 2020 · 1 comment
Closed

Comments

@juanes1a
Copy link
Contributor

When i'm using the plugin i generated the structure without problem, but when you import the generic jpa driven adapter there is some missing dependendcies like:
compile 'com.zaxxer:HikariCP:3.4.5'
compile group: 'org.springframework', name: 'spring-orm', version: '2.5.1'

This dependencies should go in the app-service layer on the build.gradle file. Also when you import the missing dependencies the method setPackagesToScan it seems to have no implementation for LocalContainerEntityManagerFactoryBean object in Jpaconfig file

@juancgalvis
Copy link
Contributor

To fix it, you should change implementation for compile in build.gradle of jpa-repository module

compile 'org.springframework.boot:spring-boot-starter-data-jpa'

We are working on a new release fixing it.

Duplicated: #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants