Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Refine @EnableJpaRepositories support #1368

Closed
liupengpop opened this issue Dec 11, 2021 · 1 comment · Fixed by #1383
Closed

Refine @EnableJpaRepositories support #1368

liupengpop opened this issue Dec 11, 2021 · 1 comment · Fixed by #1383
Assignees
Labels
type: compatibility Native image compatibility issue
Milestone

Comments

@liupengpop
Copy link

@EnableJpaRepositories(repositoryBaseClass = MyJpaRepository.class)
not supported?


APPLICATION FAILED TO START


Description:

Native reflection configuration for com.test.MyJpaRepository is missing.

Action:

Native configuration for a class accessed reflectively is likely missing.
You can try to configure native hints in order to specify it explicitly.
See https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#native-hints for more details.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 11, 2021
@snicoll
Copy link
Contributor

snicoll commented Dec 13, 2021

@liupengpop it is hard to give you support with this level of details. Spring Data JPA is supported. You haven't shared which version of Spring Native you're using or what your setup looks like. For us to be able to help you, we'd need that information.

@snicoll snicoll added the status: waiting-for-feedback We need additional information before we can continue label Dec 13, 2021
@sdeleuze sdeleuze added this to the 0.11.1 milestone Dec 17, 2021
@sdeleuze sdeleuze added type: compatibility Native image compatibility issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on status: waiting-for-feedback We need additional information before we can continue labels Dec 17, 2021
@sdeleuze sdeleuze changed the title spring-data-jpa @EnableJpaRepositories not supported? Refine @EnableJpaRepositories support Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: compatibility Native image compatibility issue
5 participants