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

how can support spring boot 3.0 #697

Closed
lin3fei opened this issue Aug 11, 2022 · 4 comments
Closed

how can support spring boot 3.0 #697

lin3fei opened this issue Aug 11, 2022 · 4 comments

Comments

@lin3fei
Copy link

lin3fei commented Aug 11, 2022

i created spring boot 3.0.0_m4, and incloud mybatis-spring 2.2.x, but it can not start, and error create sqlsessionfactory bean error, could you help me? thanks

@SunGungg
Copy link

i have the same error. the reason is Latest spring-framework removed NestedIOException. you can copy this class from older jar.
and you can start up.
see my issue, maybe for help #691

@hazendaz
Copy link
Member

well... probably no surprise here but we haven't released support for jakarta yet. I think you will find that is the case with most downstream repos as core products that are highly used like spring have to get their first. Since spring doesn't publish work in progress into maven central, it does make it a bit more complicated. I know some work was being done in this area along with other parts of mybatis projects to support jakarta but nothing is officially out or anything at this point in time.

@kazuki43zoo
Copy link
Member

We will support spring boot 3 (spring-framework 6) on 2.3.0 (now only release snapshot version to Sonatype OSS repository). Please use mybatis-spring-boot 2.3.0-SNAPSHOT.

@lin3fei
Copy link
Author

lin3fei commented Aug 18, 2022

Thanks @kazuki43zoo ,

@lin3fei lin3fei closed this as completed Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants