JHipster

Материал из Home Wiki
Перейти к навигации Перейти к поиску

Категория:Работа

Применение material-design

npm install -g generator-jhipster-bootstrap-material-design yo jhipster-bootstrap-material-design

Добавление/редактирование сущности

yo jhipster:entity points

Angular4

Пересобрать клиентскую часть:

yarn run cleanup && yarn run webpack:build:main

Запуск и отладка тестов в Eclipse

Если не работает запуск и вываливается с ошибкой:

Caused by: org.hibernate.cache.NoCacheRegionFactoryAvailableException: Second-level cache is used in the application, but property hibernate.cache.region.factory_class is not given; please either disable second level cache or set correct region factory using the hibernate.cache.region.factory_class setting and make sure the second level cache provider (hibernate-infinispan, e.g.) is available on the classpath.
  1. открыть файл src/test/resources/config/application.yml
  2. найти строку hibernate.cache.use_second_level_cache: false
  3. заменить на hibernate.cache.use_second_level_cache: true
  4. сохранить
  5. вернуть (повтрно заменить) на hibernate.cache.use_second_level_cache: false
  6. сохранить

и пробовать запустить заново.