0

我正在测试 jHipster 的 JDL 应用程序选项,但我无法让它工作,我想我遵循了https://www.jhipster.tech/jdl/#application_options上的文档来了解我得到的具体错误:

错误:选项的名称和值必须有效才能创建选项,为“搜索”获取值“弹性搜索”。从 JDL 解析应用程序和实体时出错错误:选项的名称和值必须有效才能创建选项,为“搜索”获得值“弹性搜索”。

这是JDL相关部分

   application {
  config {

    packageName es.fasam
    baseName fasam
    applicationType monolith
    authenticationType jwt 
    cacheProvider ehcache 
    buildTool maven
    clientFramework angularX
    enableHibernateCache true
    enableTranslation true
    languages [es,en]
    nativeLanguage es
    prodDatabaseType mysql
    searchEngine elasticsearch
    serverPort 8085
    skipUserManagement false
  }

}

@service(serviceClass)
@paginate(pagination)
@search(elasticsearch)
entity Actividad {
    nombre String,
    fechaDeInicio ZonedDateTime,
    fechaDeFin ZonedDateTime,
    ubicacion String
}


.
  .
  .
  .
  entity B {...}
  entity C {...}
4

0 回答 0