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

Error during native compilation #4156

Closed
lordofthejars opened this issue Sep 23, 2019 · 4 comments
Closed

Error during native compilation #4156

lordofthejars opened this issue Sep 23, 2019 · 4 comments
Labels
kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant

Comments

@lordofthejars
Copy link
Contributor

Describe the bug

I have created a simple hello world project, and then I compiled to native without any problem: mvn package -Pnative -Dnative-image.docker-build=true

Then I added next dependencies https://pastebin.com/ecDazT1v

And when running native compilation without any other modification I get the next stacktrace:
https://pastebin.com/dhsK3GBv

Expected behavior
Should compile into native

Actual behavior
Exception

Environment (please complete the following information):

  • Quarkus 0.22.0
@lordofthejars lordofthejars added the kind/bug Something isn't working label Sep 23, 2019
@geoand
Copy link
Contributor

geoand commented Sep 24, 2019

@lordofthejars where you perhaps able to narrow down the set of dependencies that causes the problem?

@limadelrey
Copy link

@lordofthejars I think that behaviour is happening because of quarkus-hibernate-orm-panache maven dependency. In fact it is a known issue (#2482). Just add a class with an @Entity annotation and configure your datasource on application.properties file and the error should be gone (https://quarkus.io/guides/hibernate-orm-guide).

@lordofthejars
Copy link
Contributor Author

lordofthejars commented Sep 24, 2019 via email

@stuartwdouglas
Copy link
Member

I just tested this out and it seems fine now.

@gsmet gsmet added the triage/out-of-date This issue/PR is no longer valid or relevant label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant
Projects
None yet
Development

No branches or pull requests

5 participants