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

Support Spring Boot 3 #36

Open
kazuki43zoo opened this issue Jun 5, 2022 · 12 comments
Open

Support Spring Boot 3 #36

kazuki43zoo opened this issue Jun 5, 2022 · 12 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kazuki43zoo
Copy link
Member

No description provided.

@kazuki43zoo kazuki43zoo added the enhancement New feature or request label Jun 5, 2022
@kazuki43zoo kazuki43zoo self-assigned this Jun 5, 2022
@kazuki43zoo kazuki43zoo added this to the 1.0.0 milestone Jun 5, 2022
@snicoll
Copy link

snicoll commented Sep 23, 2022

@kazuki43zoo let me know if I can help you migrate to the new API in Spring Boot 3. Spring Boot 3.0.0-M5 is available with the required tools to build a native image.

@kazuki43zoo
Copy link
Member Author

@snicoll Sorry to late reply...
I want to support to run on Spring Boot 3. Now, I need to your helping !!!!

@linghengqian
Copy link

  • Hey, I noticed that this project generates GraalVM reachability metadata through specific Spring annotations. I want to know if you allow me to submit to https://github.com/oracle/graalvm-reachability-metadata, about mybatis GraalVM Reachability metadata PR? That should include graalvm reachability metadata that can be generated by conditional agent mode so that I can configure as little json as possible before this issue is resolved.🤔

@qiangbro
Copy link

同求

@gogolin001
Copy link

SpringBoot3 AOT startup and running error after native compilation
e157ee82bbdc4d5005442ec3c7d7ced0_222346640-95b8c87c-1e52-428d-a715-d30b899d68e8

@Reason94
Copy link

Reason94 commented Jun 2, 2023

Hi, Is there any progress on this issue? I have also meet this problem

@snicoll
Copy link

snicoll commented Jun 2, 2023

Is this project still relevant though? It seems for Spring Boot 2.x and the now retired project. Folks should use Spring Boot and it's GA version of native support. I believe Mybatis has an integration for Spring Boot 3 as well. Try on start.spring.io?

@kazuki43zoo
Copy link
Member Author

We have a plan to provide support components and meta-data for building native image using Spring Boot 3 on this project or mybatis-spring or mybatis-spring-boot project at late. Until then, please see the mybatis-spring-boot's wiki page.

@lumine1996
Copy link

lumine1996 commented Jun 26, 2023

Hello everyone, here is a demo that support Spring Boot 3 & GraalVM & Mybatis Plus.
Plugin native:compile works, but spring-boot:build-image doesn't.
https://github.com/lumine1996/lumine-starter
@kazuki43zoo @linghengqian

@linghengqian
Copy link

Hello everyone, here is a demo that support Spring Boot 3 & GraalVM & Mybatis Plus. Plugin native:compile works, but spring-boot:build-image doesn't. https://github.com/lumine1996/lumine-starter @kazuki43zoo @linghengqian

  • @lumine1996 Hi, the Mybatis Plus Example should not be discussed in this issue, I suggest you open a new issue on the baomidou side.

@lumine1996
Copy link

Hello everyone, here is a demo that support Spring Boot 3 & GraalVM & Mybatis Plus. Plugin native:compile works, but spring-boot:build-image doesn't. https://github.com/lumine1996/lumine-starter @kazuki43zoo @linghengqian

  • @lumine1996 Hi, the Mybatis Plus Example should not be discussed in this issue, I suggest you open a new issue on the baomidou side.

Maybe you misunderstood me, here I want to help those friends.
This demo can help you run Mybatis on Spring Boot 3, you can build native image by GraalVM.

mvn -Pnative native:compile -DskipTests

In this demo, because Mybatis Plus is based on Mybatis, so Mybatis also works.
As for the problem of the other plugin, that's a remind, but I'd be glad if anyone could help.

@elevenkongqian
Copy link

support springboot3 native has some new messages?

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

No branches or pull requests

8 participants