(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
.