jhipster の使用に関するこの美しいチュートリアルに従いました。Maven と Grunt を一緒に実行できます。そして、デフォルトのユーザーで認証できました。問題が発生するのは、新しいエンティティを作成するときです。
http://jhipster.github.io/creating_an_entity.html
走った
yo jhipster:entity foo
次に、angular javascript ファイルの後に、index.html ファイル内の 3 つの foo js ファイルのエントリを作成しました。
foo-router.js
foo-controller.js
foo-serrvice.js
期待したページが表示されない
http://localhost:8080/#/foo
次のコンソール エラーが表示されます。
Uncaught ReferenceError: App is not defined foo-router.js:3
(anonymous function) foo-router.js:3
Uncaught ReferenceError: App is not defined foo-controller.js:3
(anonymous function) foo-controller.js:3
Uncaught ReferenceError: App is not defined foo-service.js:3
(anonymous function) foo-service.js:3