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

Module doesn't work on native image out of the box #75

Closed
graemerocher opened this issue Nov 23, 2020 · 0 comments · Fixed by #88
Closed

Module doesn't work on native image out of the box #75

graemerocher opened this issue Nov 23, 2020 · 0 comments · Fixed by #88
Labels
relates-to: graal type: bug Something isn't working

Comments

@graemerocher
Copy link
Contributor

Currently fails with:

Error: Classes that should be initialized at run time got initialized during image building:
 javax.ws.rs.ext.RuntimeDelegate was unintentionally initialized at build time. To see why javax.ws.rs.ext.RuntimeDelegate got initialized use --trace-class-initialization=javax.ws.rs.ext.RuntimeDelegate
javax.ws.rs.ext.FactoryFinder was unintentionally initialized at build time. To see why javax.ws.rs.ext.FactoryFinder got initialized use --trace-class-initialization=javax.ws.rs.ext.FactoryFinder
io.micronaut.jaxrs.runtime.ext.impl.MicronautRuntimeDelegate the class was requested to be initialized at run time (from the command line). To see why io.micronaut.jaxrs.runtime.ext.impl.MicronautRuntimeDelegate got initialized use --trace-class-initialization=io.micronaut.jaxrs.runtime.ext.impl.MicronautRuntimeDelegate

Requires the addition of the following to native image config

--initialize-at-run-time=io.micronaut.jaxrs.runtime.ext.impl.LinkImpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relates-to: graal type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant