JHipster 7.7.0
I am trying to import the following JDL file:
entity UploadedResource {
fileName String required,
owner String required,
uploadedBy String required,
uploadTime Instant required,
description String,
fileSize Long,
content Blob
}
entity SharedResource {
resource UploadedResource required,
url String required,
public Boolean
}
entity ResourceDownload {
resource UploadedResource required,
downloadTime Instant required,
user String
}
enum Language {
ENGLISH, GERMAN, SPANISH, HUNGARIAN, ROMANIAN
}
relationship OneToOne {
SharedResource{resource} to UploadedResource
}
relationship ManyToOne {
ResourceDownload{resource} to UploadedResource
}
paginate UploadedResource with pagination
dto * with mapstruct
service all with serviceImpl
The import fails with the following error:
JDL Studio renders the relations correctly. Also, if I use the built in entity User, it complains about it too. If I only leave the UploadedResource entity and remove the others and the relationships, it works fine, the entity is created and I can use it in the application.
What could be the reason of the error message? No other entities are loaded into the application.