-
Notifications
You must be signed in to change notification settings - Fork 80
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
run nativeTest with custom-runtime and function-api-proxy in the classpath #1708
Conversation
@@ -1 +0,0 @@ | |||
Args = --initialize-at-run-time=io.micronaut.function.aws.proxy --initialize-at-build-time=io.micronaut.function.aws.proxy.model.factory.MicronautAwsProxyResponseFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I don't remove this, just by adding the dependency micronaut-function-aws-api-proxy
, I was getting:
Error: Classes that should be initialized at run time got initialized during image building:
org.slf4j.LoggerFactory was unintentionally initialized at build time. To see why org.slf4j.LoggerFactory got initialized use --trace-class-initialization=org.slf4j.LoggerFactory
To see how the classes got initialized, use --trace-class-initialization=org.slf4j.LoggerFactory
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
This reverts commit 4c5249e.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Thanks for the help @graemerocher |
No description provided.