【发布时间】:2021-01-14 08:08:19
【问题描述】:
我刚刚通过 docker 镜像安装了 JHipster (VueJS),我直接从 https://start.jhipster.tech/jdl-studio/ 导入了 jdl 文件。
jhipster@66b8176ee05f:~/app$ jhipster import-jdl ../jhipster.jdl
INFO! Using JHipster version installed locally in current project's node_modules
INFO! Executing import-jdl ../jhipster.jdl
INFO! Found .yo-rc.json on path. This is an existing app
INFO! The JDL is being parsed.
warn: In the One-to-Many relationship from Employee to Job, only bidirectionality is supported for a One-to-Many association. The other side will be automatically added.
warn: In the One-to-Many relationship from Department to Employee, only bidirectionality is supported for a One-to-Many association. The other side will be automatically added.
INFO! No change in entity configurations, no entities were updated.
INFO! The JDL has been successfully parsed
INFO! Congratulations, JHipster execution is complete!
然后我在不同的终端上运行了 ./mvnw -P-webpack 和 yarn start。
两者都完美运行,应用程序在 localhost:8080 thru ./mvnw 和 localhost:9000 从 npm start 上运行。
这是我当前的架构(来自 http://localhost:9000/admin/docs):
这是我的问题,虽然架构已经完美导入,但 实体菜单 仍然是空的。
我尝试了以下解决方案,但没有任何效果:
- 隐身浏览器以空缓存启动。
- ./mvnw 和 ./mvnw -P-webpack
- npm 开始
任何机构可以帮助我如何解决这个问题?
【问题讨论】:
标签: javascript java spring-boot vuejs2 jhipster