Jhipster hipster-导入JDL
我是杰普斯特的新手。如果答案显而易见,我很抱歉 我正在尝试使用以下命令导入我的JDL:Jhipster hipster-导入JDL,jhipster,jdl,Jhipster,Jdl,我是杰普斯特的新手。如果答案显而易见,我很抱歉 我正在尝试使用以下命令导入我的JDL: import-jdl ~/Downloads/jhipster-jdl.jh --debug 我的JDL: entity Package{ origin String, destination String, amORpm String, department Integer, weight Long, barcode Long } entity Supp
import-jdl ~/Downloads/jhipster-jdl.jh --debug
我的JDL:
entity Package{
origin String,
destination String,
amORpm String,
department Integer,
weight Long,
barcode Long
}
entity Supplier {
regionName String required
}
entity Mission{
dueDate Instant required
}
entity Seller {
streetAddress String,
postalCode String,
city String,
stateProvince String,
phoneNumber String
}
entity WareHouse{
regionName String
}
entity Timer {
firstName String,
lastName String,
email String,
phoneNumber String,
hiringDate Instant required
}
entity GraphDataWeight {
effort Long
}
relationship OneToOne{
Mission {missionId} to Package
}
relationship OneToMany {
Supplier {packageId} to Package
Seller {sellerId} to Mission
Timer {timerId} to Mission
WareHouse {timerId} to Timer
GraphDataWeight {sellerId1} to Seller
GraphDataWeight {sellerId2} to Seller
}
paginate all with infinite-scroll
paginate all with pagination
dto * with mapstruct
Set service options to all except few
service all with serviceImpl
Set an angular suffix
angularSuffix * with mySuffix
我得到的错误是:
The JDL is being parsed.
DEBUG! Error:
Error: The entity must be valid in order to be added.
Errors: The entity name cannot be a reserved keyword
尝试了我找到的所有修复方法,但我得到了相同的错误
在乞讨会上,我有一个枚举,但我改变了它只是为了让它发挥作用。但我仍然得到这个错误
我没有看到我所知道的任何保留词
提前感谢您的时间您不能调用实体包,因为它是保留关键字 您还需要删除或注释将服务选项设置为除少数之外的所有选项,并设置一个角度后缀以使其工作