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

native build error #31

Closed
tanggen opened this issue Dec 31, 2020 · 1 comment
Closed

native build error #31

tanggen opened this issue Dec 31, 2020 · 1 comment

Comments

@tanggen
Copy link

tanggen commented Dec 31, 2020

when i build a springboot project ,i got error:
Error: Classes that should be initialized at run time got initialized during image building:
org.springframework.boot.logging.java.JavaLoggingSystem$Factory was unintentionally initialized at build time. org.springframework.boot.SpringBootFactories caused initialization of this class with the following trace:
at org.springframework.boot.logging.java.JavaLoggingSystem$Factory.(JavaLoggingSystem.java:190)
at org.springframework.boot.SpringBootFactories.(SpringBootFactories.java:99)


native-image.cmd --version
GraalVM Version 20.3.0 (Java Version 11.0.9+7-LTS-jvmci-20.3-b06)

@jonashackt
Copy link
Owner

Did the upgrade to GraalVM 20.3.x yesterday with #21 - so maybe give it a try again @tanggen - or file a question on stackoverflow

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