Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
How to solve this problem?
1 reply
Simon Hirscher
Is there any reason why we convert the "contains"-Query-Filter to an uppercase match to ensure case insensitive queries? We currently have a problem searching for "ß" which gets converted to "ss" and so does not find the relevant entries in the table with "ß".
Hi everyone, I am creating jhipster app with MongoDB. I want to have entity with array type field. Is it possible? If yes, then how?
David Lambert
Hello !
I have a rather strange problem and I don't know how I can resolve this....
I have a high (Like 99%) CPU usage caused by XNIO-1 I/O-1 and XNIO-1 I/O-2 threads started by my jhipster stack and It prevent the app from working on my VPS... Any Idea how to resolve this? Or to limit the thread usages?
David Lambert
Problem Seems to be solved by exluding Netty and placing Tomcat instead
Hassan Ait Nacer

Hi, JHipsters!

I have created a Minimal UI starter kit with React and Redux Toolkit for JHipster based app if you want to use it in your upcoming project.

Main features:

  • Authentication JWT
  • Reset password via Email
  • CRUD users

GitHub: https://github.com/hassanaitnacer/jhinimal

Bobur Azimov

Hi everyone, help me please with JDL Studio. When I try to applied model to gitHub project in web I see some errors:

INFO! Generating 0 applications.
INFO! Generating 14 entities.
INFO! Generating entities for application undefined in a new parallel process
TypeError: /home/jhipster/generator-jhipster/generators/entity-server/templates/src/main/java/package/service/mapper/EntityMapper.java.ejs:103
101| <% } %>
102| <% for (const {otherEntity, relatedField, collection} of otherEntitiesFields) { %>

103| <% const mapperName = otherEntity.entityInstance + .upperFirst(relatedField.propertyName); _%>
105| @Named("<%= mapperName %>")
106| @BeanMapping(ignoreByDefault = true)

Cannot read properties of undefined (reading 'propertyName')
at module.exports.eval ("/home/jhipster/generator-jhipster/generators/entity-server/templates/src/main/java/package/service/mapper/EntityMapper.java.ejs":185:82)
at EntityMapper.java (/home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:703:17)
at /home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:260:40
at new Promise (<anonymous>)
at tryHandleCache (/home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:258:14)
at Object.exports.renderFile (/home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:491:10)
at Object.renderContent (/home/jhipster/generator-jhipster/generators/utils.js:310:23)
at module.exports.template (/home/jhipster/generator-jhipster/generators/generator-base-private.js:735:8)
at /home/jhipster/generator-jhipster/generators/generator-base.js:2365:47
at Array.map (<anonymous>) {
path: '/home/jhipster/generator-jhipster/generators/entity-server/templates/src/main/java/package/service/mapper/EntityMapper.java.ejs'


Hi Facing problem with JDL, I get error 'Java type Integer does not have a random generator implemented' error when try to import a basic single entity jdl,
Please help me to resolve this
ERROR! /home/laptechnos/gf/nodemodules/generator-jhipster/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIT.java.ejs:886
884| <%
if (!primaryKey.derived) { %>
885| <%
for (field of primaryKey.fields.filter(f => !f.autoGenerateByRepository)) { _%>

886| <%= persistInstance %>.set<%= field.fieldNameCapitalized %>(<%- getJavaValueGeneratorForType(field.fieldType) %>);
887| <% } %>
888| <% } %>
889| <%= entityInstance %>Repository.<%= saveMethod %>(<%= persistInstance %>)<%= callBlock %>;

Java type Integer does not have a random generator implemented

2 replies
Ram Sharan Mittal
if jhipster have plan to switch to redux-saga from redux-thunk ?
1 reply
Vidhyadharan Deivamani

Hi all , first time i tried to contribute generator-jhipster. end up with multiple issues. now i am facing , npm install issue. end up with

 circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated puppeteer@9.1.1: Version no longer supported. Upgrade to @latest
npm ERR! code 1
npm ERR! path V:\sagcloud\opensource\jhipster-tryout\microapp3\node_modules\puppeteer
npm ERR! command failed
npm ERR! command bash -c node install.js

please help

1 reply
Caused by: org.elasticsearch.ElasticsearchException: Invalid or missing build flavor [oss]
3 replies
hi how to solve this problem
2022-08-15T16:26:47.030030+00:00 app[web.1]: Caused by: org.elasticsearch.ElasticsearchException: Invalid or missing build flavor [oss]
2022-08-15T16:26:47.030031+00:00 app[web.1]: at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2084)
2022-08-15T16:26:47.030031+00:00 app[web.1]: at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1732)
2022-08-15T16:26:47.030031+00:00 app[web.1]: at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1717)
2022-08-15T16:26:47.030031+00:00 app[web.1]: at org.elasticsearch.client.IndicesClient.exists(IndicesClient.java:963)
2022-08-15T16:26:47.030031+00:00 app[web.1]: at org.springframework.data.elasticsearch.core.RestIndexTemplate.lambda$doExists$2(RestIndexTemplate.java:103)
2022-08-15T16:26:47.030032+00:00 app[web.1]: at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.execute(ElasticsearchRestTemplate.java:408)
2022-08-15T16:26:47.030032+00:00 app[web.1]: ... 57 common frames omitted
i am facing this problem with heroku Bonsai Elasticsearch
Boisseau S.
Hi, on my gitlab cicd file based on jhipster/jhipster:v7.9.0 image, I have an error on npm install : Python not found for node-gyp. How to fix it? Thanks
Sanjeev Ghimire
question on annonation processor
2 replies
I am using windows wsl and using using vscode
I created a new entity but the mapper impl is not being generated
any idea whats wrong?
Hi) When I generated my project(spring boot+react), I used Long as id. Can I change Long to UUID using autogeneration?)
Timothy Stone

Hi Facing problem with JDL, I get error 'Java type Integer does not have a random generator implemented' error when try to import a basic single entity jdl,
Please help me to resolve this
ERROR! /home/laptechnos/gf/nodemodules/generator-jhipster/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIT.java.ejs:886
884| <%
if (!primaryKey.derived) { %>
885| <%
for (field of primaryKey.fields.filter(f => !f.autoGenerateByRepository)) { _%>

886| <%= persistInstance %>.set<%= field.fieldNameCapitalized %>(<%- getJavaValueGeneratorForType(field.fieldType) %>);
887| <% } %>
888| <% } %>
889| <%= entityInstance %>Repository.<%= saveMethod %>(<%= persistInstance %>)<%= callBlock %>;

Java type Integer does not have a random generator implemented

I have the same problem. @koteshd notes that it was resolved, possibly addressing "node/npm versions issues" but I'm using node 16.16.0 and npm 8.11.0. the problem persists. Simple, basic, and single entity.

@koteshd, how was it resolved, specifically?

macOS 12.15.1 (Monterey)
Apple Silicon (M1)

1 reply

Hi, when I run ./mvnw clean verify I get the following error when the tests run:
It is for jhipster 7 with JDK 11, and it's a basic app skeleton without any changes, with Spring Webflux and Cassandra.

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.19 s <<< FAILURE! - in com.mycompany.myapp.CassandraKeyspaceIT
[ERROR] com.mycompany.myapp.CassandraKeyspaceIT Time elapsed: 21.19 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.DefaultChannelId
at io.netty.channel.AbstractChannel.newId(AbstractChannel.java:101)
at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:73)
at io.netty.bootstrap.FailedChannel.<init>(FailedChannel.java:33)
at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:320)
at io.netty.bootstrap.Bootstrap.doResolveAndConnect(Bootstrap.java:155)
at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:139)
at com.datastax.oss.driver.internal.core.channel.ChannelFactory.connect(ChannelFactory.java:199)
at com.datastax.oss.driver.internal.core.channel.ChannelFactory.connect(ChannelFactory.java:167)
at com.datastax.oss.driver.internal.core.channel.ChannelFactory.connect(ChannelFactory.java:148)
at com.datastax.oss.driver.internal.core.control.ControlConnection$SingleThreaded.connect(ControlConnection.java:365)
at com.datastax.oss.driver.internal.core.control.ControlConnection$SingleThreaded.init(ControlConnection.java:303)
at com.datastax.oss.driver.internal.core.control.ControlConnection$SingleThreaded.access$1100(ControlConnection.java:243)
at com.datastax.oss.driver.internal.core.control.ControlConnection.lambda$init$0(ControlConnection.java:122)
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
at io.netty.util.concurrent.PromiseTask.run(PromiseTask.java:106)
at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)

Does anyone know how to sole this issue?
zuzhi hu

Hi, everyone. I am having this issue that the gateway failed to connect a microservice.

I am running a docker-compose file, which starts a jhipster-registry and gateway, and then I run a microservice foo in debug mode outside docker, when I call services/foo/api/bar, I get a connection timeout error.

io.netty.channel.ConnectTimeoutException: connection timed out: /
    at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe$2.run(AbstractEpollChannel.java:613)
    Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
    *__checkpoint ⇢ tech.jhipster.web.filter.reactive.CachingHttpHeadersFilter [DefaultWebFilterChain]
    *__checkpoint ⇢ org.springframework.web.cors.reactive.CorsWebFilter [DefaultWebFilterChain]

It works when foo is running in docker.

I think it's because the gateway can't connect host network(, but I don't know how to fix it.

Does anyone know how to solve this? Thanks in advance.

zuzhi hu
Sorry everyone, after rebooting my computer, everything works fine now.
"I'll help 10individuals how to earn $30,000 in 72 hours from the crypto market. But you will pay me 10% commission when you receive your profit. if interested send me a direct message on Telegram by asking me (HOW) for more details on how to get started
Tomasz Wasik
Hey, have an issue with keyvault usage. I have a reference to keyvault in registry -> central-config -> application-local.yml
When i am trying to 'use' key vault secret in one of microservice i am not able to do that, value cant be retrieved. Any tips?
Hello, does anybody new how to make query with "GROUP BY" in reactive mode using SimpleR2dbcRepository ?
Dinu Claudiu
How can I easily implement to show for the user of my jhipster application only the entities that he had created?
Dinu Claudiu
got a problem with a query
hello every body , i am a new user of jhipster and i have some problem. how to configure the backend
Hello there, I created an application(Java 11) with JHipster, which has several microservices, the Service Registry and the API gateway. I have generated the docker-compose.yml file, and used to build the entire app with the Maven jib plugin, and run the entire app by doing docker-compose up -d. My question is: how do I debug the microservices running inside Docker from my IDE(I use IntelliJ)? Any pointers will be much appreciated.
Eder Gomez
Hello, help please.
I want to recover my password for JDL Studio but it doesn't send me any recovery email.
Hi, I'm Pietro. I created gateway with registry using jhipster 7.6.0. I included tracker component becouse want use websocket for browser-server comunication.
So I have the issue websocket failed 404 error and follow 405 error. I tried more implementatio without solve the problem. Could I help to solve this issue? THANKS.
Can someone please help?
1 reply
Peter Ahlers
Are there answers for nhipster in this room?
I like to get in contact with the owner of that project, mister amanganiello90.
s p (blablabla)
hi everyone i have problem to see image in jhipster? i put the image in the component and in src/main/webapp/content/images
but i don t see the image i see only the alt tag
Hello, For a microservice , all my tests are failing with below error: "ExceptionTranslatorIT > testConcurrencyFailure() FAILED
java.lang.NoClassDefFoundError at LogbackLoggingSystem.java:293" Can someone suggest solution to it?
1 reply
After updating to newest jHipster version when I launch it with jhipster this is what I get (removed jHipster completely and installed it again, but that changed nothing)
jhipster create error.png
Tlou Rammala
Hi all, I'd like to create a ui components blueprint using https://www.primefaces.org/primevue/ or even better https://github.com/primefaces/primevue. I basically want to automate this process detailed here: https://stackoverflow.com/questions/72863381/jhipster-vue-how-to-use-with-primevue any one with some advise on how to create jhipster blueprints, I tried to use the blueprint docs but I did not get anywhere..
Or anyone know anyone who could assist in creating a ui component blueprint? The goal of what I want to do is to be able to run the jhipster generator for client code (vuejs) with a jdl file and also attach a blueprint to use for ui components to replace the default bootstrap that comes with jhipster. Also willing to pay if someone can do this for me.