You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The given test case provided when creating the application using Micronaut Launch should pass.
The SynchronousTransactionManager should be provided
Actual Behaviour
Error starting Micronaut container
Missing bean argument [SynchronousTransactionManager synchronousTransactionManager]
The given test case does not pass.
com.amazonaws.serverless.exceptions.ContainerInitializationException: Error starting Micronaut container: Bean definition [io.micronaut.transaction.async.AsyncTransactionOperations] could not be loaded: Error instantiating bean of type [io.micronaut.transaction.async.AsyncTransactionOperations]
Message: Missing bean argument [SynchronousTransactionManager synchronousTransactionManager] for type: io.micronaut.transaction.async.AsyncTransactionOperations. Required arguments: SynchronousTransactionManager synchronousTransactionManager
Path Taken: AsyncTransactionOperations.buildPrimaryAsyncTransactionOperations(SynchronousTransactionManager synchronousTransactionManager,CoroutineTxHelper coroutineTxHelper)
at io.micronaut.function.aws.proxy.MicronautLambdaContainerHandler.initialize(MicronautLambdaContainerHandler.java:260)
at io.micronaut.function.aws.proxy.MicronautLambdaContainerHandler.<init>(MicronautLambdaContainerHandler.java:193)
at io.micronaut.function.aws.proxy.MicronautLambdaContainerHandler.<init>(MicronautLambdaContainerHandler.java:155)
at io.micronaut.function.aws.proxy.MicronautLambdaHandler.<init>(MicronautLambdaHandler.java:45)
at com.example.HomeControllerTest.setupSpec(HomeControllerTest.java:23)
Steps To Reproduce
Create a Micronaut application with the following features using Micronaut Launch:
I have this problem in an integration test where I'm using eager loading of singletons to check that all bean are configured correctly.
I'm passing a ContextBuilder class to @MicronautTest to do so.
There is a way to use eager loading and do the test pass? thanks
Expected Behavior
Actual Behaviour
Error starting Micronaut container
Missing bean argument [SynchronousTransactionManager synchronousTransactionManager]
The given test case does not pass.
Steps To Reproduce
Environment Information
Example Application
https://github.com/aprietop/mongo-lambda-issue
Version
3.6.0
The text was updated successfully, but these errors were encountered: