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

narayana-spring-boot-3.3.0 fails with SB 3.4.0 #173

Closed
oburgosm opened this issue Nov 27, 2024 · 5 comments
Closed

narayana-spring-boot-3.3.0 fails with SB 3.4.0 #173

oburgosm opened this issue Nov 27, 2024 · 5 comments

Comments

@oburgosm
Copy link

I have an application that uses narayana-spring-boot. I tried to update this application to spring boot 3.4.0, but it fails with the following message:

Caused by: java.lang.NoSuchMethodError: 'void org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers.customize(org.springframework.transaction.PlatformTransactionManager)'
	at dev.snowdrop.boot.narayana.autoconfigure.NarayanaAutoConfiguration.transactionManager(NarayanaAutoConfiguration.java:119)

Actually, I don't undestand why it's failing because there is another method with signature : void org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers.customize(org.springframework.transaction.TransactionManager), but I tried to build narayana-spring-boot-3-3-1-SNAPSHOT with spring boot 3.4.0 in my local environment and It works fine with my application without erros.

So, It will be nice that narayana-spring-boot release a new version that bump to spring boot 3.4.0.

@graben
Copy link
Contributor

graben commented Nov 27, 2024

Already fixed with #172 waiting for release by @jacobdotcosta

@oburgosm
Copy link
Author

But if you update to SB 3.4.0 there is no need to cast.

@graben
Copy link
Contributor

graben commented Nov 27, 2024

I know but an upgrade to 3.4.x is planned together with the next Camel compatible LTS. So we need something in between for people only using SB.

@graben
Copy link
Contributor

graben commented Dec 5, 2024

@oburgosm: Please try the 3.3.1 release.

@oburgosm
Copy link
Author

oburgosm commented Dec 5, 2024

It's works for me. Thanks @graben!

@oburgosm oburgosm closed this as completed Dec 5, 2024
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