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

Add spring-native support #577

Open
lgklein opened this issue Aug 30, 2021 · 6 comments
Open

Add spring-native support #577

lgklein opened this issue Aug 30, 2021 · 6 comments
Labels
enhancement A feature request or improvement help wanted Requesting external help
Milestone

Comments

@lgklein
Copy link

lgklein commented Aug 30, 2021

Is there any idea to make this project AOT compliant (spring-native)?

Today I can make it work without problems, but still in runtime and not buildtime.

@lgklein lgklein added the enhancement A feature request or improvement label Aug 30, 2021
@ST-DDT ST-DDT added the help wanted Requesting external help label Aug 31, 2021
@ST-DDT ST-DDT added this to the Future milestone Aug 31, 2021
@ST-DDT
Copy link
Collaborator

ST-DDT commented Aug 31, 2021

I really would love to have spring native support.

@thukabjj
Copy link

I open one issue on stackoverflow for this problem https://stackoverflow.com/questions/68639801/spring-native-erro-on-execute-builded-image

@titiuhay
Copy link

titiuhay commented Jul 9, 2022

Hi, do we have any news in this case? Where I work we would also like to use this framework as AOT.

@ST-DDT
Copy link
Collaborator

ST-DDT commented Jul 9, 2022

Sorry, I currently don't have a lot of time to dive into this.
I did manage to compile it with graalvm, but for some reasons the calls didn't get processed properly, before I ran out of time.
I'm still interested in it though.^^

@lgklein
Copy link
Author

lgklein commented Jul 9, 2022

Glad to know this issue is still of interest!

AOT is being built right into spring framework 6.0 (spring boot 3.0), maybe it's a good time to prioritize this idea.

Related to the problem you had when you tried to compile, maybe it's related to using the child context application? Spring-open-feign (spring cloud) has a similar issue, reported in the issues spring-attic/spring-native#766 and spring-projects/spring-framework#28486...

@dsyer
Copy link
Contributor

dsyer commented Dec 8, 2022

See my comments in https://github.com/yidongnan/grpc-spring-boot-starter/issues/778#issuecomment-1342768872. There's a link to a sample there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request or improvement help wanted Requesting external help
Projects
None yet
Development

No branches or pull requests

5 participants