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 compiling Data JDBC interface #6744

Closed
ilopmar opened this issue Jan 12, 2022 · 1 comment · Fixed by #6749
Closed

Error compiling Data JDBC interface #6744

ilopmar opened this issue Jan 12, 2022 · 1 comment · Fixed by #6749
Labels
priority: high High priority type: bug Something isn't working
Milestone

Comments

@ilopmar
Copy link
Contributor

ilopmar commented Jan 12, 2022

Expected Behavior

Micronaut Data JDBC applications should compile.

Actual Behaviour

All the Data JDBC test applications in GraalVM CI have failed during compilation today with the error:

> Task :compileJava FAILED
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
error: Unable to implement Repository method: PetRepository.update(Object entity). No value available for annotation member @io.micronaut.data.annotation.AutoPopulated[updateable] of type: class java.lang.Boolean
Note: Creating bean classes for 7 type elements
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
1 error
2 warnings

They worked yesterday and nothing has changed in Micronaut Data so the error should be here in core.

Steps To Reproduce

  • git clone https://github.com/micronaut-graal-tests/micronaut-data-jdbc-graal
  • cd micronaut-data-jdbc-graal
  • git checkout 3.2.x_h2
  • ./gradlew compileJava

Environment Information

Linux Mint 20.3
JDK 8

Example Application

No response

Version

3.2.5-SNAPSHOT

@dstepanov
Copy link
Contributor

Caused by #6734

@graemerocher graemerocher added type: bug Something isn't working priority: high High priority labels Jan 12, 2022
@graemerocher graemerocher added this to the 3.2.6 milestone Jan 12, 2022
@jameskleeh jameskleeh changed the title Error compiling Data JDBC interface. javax.annotation.meta.When not found Error compiling Data JDBC interface Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high High priority type: bug Something isn't working
Projects
None yet
4 participants