Home > Software design >  gradle(spring boot): @id symbol not found
gradle(spring boot): @id symbol not found

Time:04-07

(Entity class) enter image description here

(Error message) enter image description here

dependencyenter image description here

dependencyAnother @Entity annotation is fine. but only @id annotation is not working...

(dependency)

CodePudding user response:

Change from @id to @Id, case matters.

CodePudding user response:

The error mesage is self-explaining. Java is case-sensitive programming language. id and Id are not the same here. You have to use @Id.

  • Related