Jhipster JDL:未声明的身份异常
我正在用我的数据库原型,我喜欢它的简单性。问题是文档有点轻,我遇到了以下错误:Jhipster JDL:未声明的身份异常,jhipster,Jhipster,我正在用我的数据库原型,我喜欢它的简单性。问题是文档有点轻,我遇到了以下错误: UndeclaredEntityException:在房间和图片之间的关系中,图片不被声明。 代码如下: ... entity Room { RoomId Integer required, RoomName String, SquareFootage Integer, HasRefrigirator Boolean, PrivateBathroom Boolean } e
UndeclaredEntityException:在房间和图片之间的关系中,图片不被声明。
代码如下:
...
entity Room {
RoomId Integer required,
RoomName String,
SquareFootage Integer,
HasRefrigirator Boolean,
PrivateBathroom Boolean
}
entity Picture {
Picture Integer required,
Url String
}
...
relationship OneToMany {
Room to Pictures{RoomId},
....
}
我不知道这是什么意思。问题出在这里
relationship OneToMany {
Room to Pictures{RoomId},
....
}
将图片
更改为图片
另外,关于此问题,请遵循github的以下线程:
这就解决了它!非常感谢。