我正在尝试在 jhipster 中生成网关+微服务应用程序。Codegen 可以正常完成,但生成的应用程序编译失败
R:\my-ms\gateway\src\main\java\com\my\domain\Practice.java:336: error: cannot find symbol
public void setStaffId(UUID staff) {
^
symbol: class UUID
location: class Practice
18 errors
我正在使用这个配置:
application {
config {
baseName gateway
applicationType gateway
packageName com.my
authenticationType jwt
reactive false
clientFramework react
buildTool gradle
serverPort 8080
}
entities *
}
...
entity Practice {
practiceName String
address1 String
address2 String
city String
state String
zip String
}
entity Staff {
id UUID
jobtitle String
}
relationship OneToMany {
Staff to Practice{staff}
}
我哪里做错了?