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

Unable to use kapt to generate querybean in Maven #3421

Open
cruldra opened this issue Jun 14, 2024 · 1 comment
Open

Unable to use kapt to generate querybean in Maven #3421

cruldra opened this issue Jun 14, 2024 · 1 comment

Comments

@cruldra
Copy link

cruldra commented Jun 14, 2024

Expected behavior

Generate query classes starting with Q for all @entity and compile without errors

Actual behavior

The query class starting with Q (kotlin version) is successfully generated, and an EbeanEntityRegister.java is also generated, which will cause "cannot find Symbol" to appear during compilation

Steps to reproduce

I created a minimal example to reproduce this error, it is located here:
https://github.com/cruldra/ebean-maven-kapt-querybean-example

@rbygrave
Copy link
Member

rbygrave commented Jun 18, 2024

This looks like a kapt bug.

We need to update the gradle example here https://github.com/ebean-orm/examples/tree/master/basic-gradle-kotlin ... and check if we have the same issue with gradle kapt.

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