Closed SchlauFuchs closed 9 months ago
The main question is, what happened between SpringBoot 3.1.5 and 3.2.0 that breaks this?
Why are you asking what happened in a Spring Boot update in the coroutines repository? Why not report it to Spring instead?
Maybe you could work around this by adding a dependency to the reactor
artifact (https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-reactor/kotlinx.coroutines.reactor/, kotlinx-coroutines-reactor
)? It does provide the kotlinx/coroutines/reactor/MonoKt
class.
Because the class that is suddenly not found is a Kotlinx coroutines class, and why should I expect the spring framework people to respond to the problem when it is caused by a kotlin/kotlinx keyword. But thank you for the suggestion, I will try that when I arrive at work.
On Fri, 1 Dec 2023 at 03:17, Dmitry Khalanskiy @.***> wrote:
The main question is, what happened between SpringBoot 3.1.5 and 3.2.0 that breaks this?
Why are you asking what happened in a Spring Boot update in the coroutines repository? Why not report it to Spring instead?
Maybe you could work around this by adding a dependency to the reactor artifact ( https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-reactor/kotlinx.coroutines.reactor/, kotlinx-coroutines-reactor)? It does provide the kotlinx/coroutines/reactor/MonoKt class.
β Reply to this email directly, view it on GitHub https://github.com/Kotlin/kotlinx.coroutines/issues/3958#issuecomment-1833865483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK5HMCSHN4P3Y7XBPNUQLYHCIP7AVCNFSM6AAAAABAAFYGH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHA3DKNBYGM . You are receiving this because you authored the thread.Message ID: @.***>
@SchlauFuchs π were you able to resolve your issue? Did you report it to Spring?
Hi, Adding the missing library to the dependencies worked to pass the exception, but then we run into problems with transactions across parallel processes, currently working on replacing the coroutines with spring Async annotated methods
On Sat, 23 Dec 2023, 10:25 Ryan Elliott, @.***> wrote:
@SchlauFuchs https://github.com/SchlauFuchs π were you able to resolve your issue? Did you report it to Spring?
β Reply to this email directly, view it on GitHub https://github.com/Kotlin/kotlinx.coroutines/issues/3958#issuecomment-1868078263, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK5HNH5LCT3HUJNEIBXZTYKX3DJAVCNFSM6AAAAABAAFYGH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGA3TQMRWGM . You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug In our project a dependabot automated dependency upgrade is blocked by a ClassNotFoundException during the unit tests runtime:
What happened? What should have happened instead?
Nothing but upgrading the Spring Boot dependencies version from 3.1.5 to 3.2.0 happened and this exception was not expected.
Here is our version.toml file at this stage:
Provide a Reproducer Sorry, I don't know enough about coroutines and their interaction with Spring-Boot. The code that is causing the exception looks like this:
The exception does not happen in the method but in the AOP part between the controller and the called service, which calls it like this:
The main question is, what happened between SpringBoot 3.1.5 and 3.2.0 that breaks this?