-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error starting Micronaut server: Bean definition [org.hibernate.SessionFactory] could not be loaded: Error instantiating bean of type [io.micronaut.configuration.hibernate.jpa.conf.SessionFactoryPerDataSourceFactory] #734
Comments
Initial build error
|
Same error here
|
Don't know if last comment error is the same as OP error, but error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
when building native image:
mvn package -Dpackaging=docker-native -Pgraalvm
got
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of org.apache.logging.slf4j.SLF4JLogger are allowed in the image heap as this class should be initialized at image runtime.
Tried to make a workaround with:--initialize-at-build-time=org.apache.logging
Image build was a success, and so I expected to run the image without any problems, but instead got an error
Actual Behaviour
Steps To Reproduce
Environment Information
Example Application
https://github.com/Bejenar/mn-to-spring
Version
3.7.1
The text was updated successfully, but these errors were encountered: