In CacheConfiguration.java class In method JCacheManagerCustomizer
you should found the system generated needle
i.e // jhipster-needle-ehcache-add-entry
You need to add another/replace it by
/* jhipster-needle-ehcache-add-entry */
It will fix the issue. thanks