Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
4,788
questions
0
votes
0
answers
18
views
What is the procedure of creating a DB view in a JHispter project?
I need to have one type of real-only data which comes from a few DB tables. A DB view likely is a better approach than doing data populating in the application in terms of efficiency. What is the ...
0
votes
0
answers
11
views
jhipster 500 connection error but I can sign in but I can't see entities
so I cloned this jhipster project that a senior dev made. it's pretty empty he only added an entity called product using a csv file.
after spending a whole day to configure database server port. i got ...
0
votes
0
answers
14
views
JHipster 6 build fails on Jenkins
I have created a new JHipster 6 project module. While it builds fine locally, it fails on Jenkins.
The Jenkins logs are:
[INFO] Finished at: 2023-03-08T13:23:16Z
[INFO] --------------------------------...
-1
votes
0
answers
7
views
Google Sign-in using Keycloak wont appear on Jhipster Sign-in page
I followed the instructions here https://keycloakthemes.com/blog/how-to-setup-sign-in-with-google-using-keycloak what would be some of the reasons the google login button wouldn't appear on the sign-...
-1
votes
0
answers
25
views
LIQUIBASE JAVA HEAP SPACE [closed]
Is there a way to manage the amount of memory liquibase uses to avoir java heap space errors?
When loading a large CSV file, liquibase fails with the java heap space error. how to avoid liquibase ...
0
votes
0
answers
19
views
Configure multiple OpenAPI groups in jhipster application
Is it possible to add multiple OpenAPI groups to a jhipster generated application.
@Configuration
@AllArgsConstructor
@AutoConfigureBefore(SpringDocConfiguration.class)
@AutoConfigureAfter(value={ ...
0
votes
1
answer
64
views
Problems when importing a CSV file and persisting information in a database using Java
I'm having a problem with a CSV data import code into the database. I'm using Java 11 with SpringBoot 2.7.3 REST API
I have a Report class that has a Many-To-Many one-way relationship with the ...
0
votes
0
answers
17
views
Spring Boot / JHipster giving "connection refused" from keycloak (behind nginx)
My Spring Boot (Jhipster) app using Keycloak authentication is running great locally.
But it needs to run behind nginx and SSL certs on the linux box.
On the linux implementation, Jhipster seems to ...
0
votes
1
answer
13
views
jhipster - generator-jhipster compilation from main branch
Trying to build from source main branch.
git clone https://github.com/jhipster/generator-jhipster.git --depth=1
cd generator-jhipster
npm i
npm link
After that I got this error in git bash
$ jhipster ...
0
votes
0
answers
26
views
Add second webapp application in JHipster Gateway
Is there a way to add second front end application in JHipster Gateway besides the one that is by default in src/main/webapp?
This application was created to have server and react client, but we want ...
1
vote
0
answers
27
views
How to integrate Keycloak with Flutter application?
I'm trying to link my Flutter mobile app with a JHipster backend that uses Keycloak for authentication.
Does anyone have experience with integrating Keycloak with a Flutter application?
I've tried ...
0
votes
1
answer
19
views
How do I create a Jhipster relationship between an entity and two other entities using the same field?
I have three entities;
entity DamagedItems { }, entity Recipe { }, entity RawProduct { }.
In a scenario where the DamagedItems should capture both Recipes and RawMaterial in one field, let's say ...
0
votes
0
answers
17
views
Jhipster is terminated automatically in Eclipse
While running the maven jhipster application in eclipse. Application is termintaed automatcically, no logs showed.
Its my first time working with Jhipster. Please help me !!
-2
votes
0
answers
22
views
How to deploy a JHipster application to Heroku using Github
I'm looking for some guidance on deploying a JHipster application to Heroku using Github. I've been trying to deploy my app, but I'm running into some issues and could use some help.
Specifically, I'm ...
0
votes
1
answer
32
views
What is the importance of the `app` sub-generator in a blueprint
I've got a mostly working blueprint for internal use-cases. Lots of opportunity left. However, the need or use of the app sub-generator is not clear during blueprint generation. It is is one of many ...
0
votes
0
answers
9
views
How to decouple the security layer of Jhipster?
It would be great to have the ability to decouple the security layer from Jhipster. This could be done from the wizzard command "jhispter" or from the web https://start.jhipster.tech/
There ...
0
votes
0
answers
14
views
Jhipster gateway status is down when register to jhipster registry v 7.9.3
When I create jhipster gateway by jhipster version 7.9.3 and then I start it, I saw a log status Saw local status change event StatusChangeEvent [timestamp=1677903081146, current=DOWN, previous=UP]
...
0
votes
1
answer
28
views
How to define rewrite rules for a jhipster application with angular frontend running productive as jar with embedded tomcat?
One needs to configure some rewrite rules for Angular SPAs to redirect requests to the index.html: https://angular.io/guide/deployment#server-configuration
We use the Jhipster generator (Spring Boot) ...
0
votes
2
answers
24
views
How exactly do templates resolve in a blueprint
Frustratingly probably a simple resolution, but I cannot see the problem I'm having with my new templates in my custom blueprint, they are not found, but they are there.
Generated a blueprint template ...
0
votes
0
answers
21
views
Filter json field
i have generated o jhipster project using a jdl file (with filters):
entity MyEntity {
name String,
content String
}
In @Entity class, I modified the "content" attribute to have a ...
0
votes
0
answers
24
views
Using custom blueprint cannot reach internal registry with internal CA
I have not seen this discussed yet.
I'm developing a new blueprint. However, during execution of jhipster --blueprints my-blueprint it fails on the prompt
Would you like to install other generators ...
0
votes
1
answer
24
views
When do I need to run update-snapshot in blueprint development
I'm developing a new blueprint for internal teams as a kickstarter for common requirements. I'm attempting to put this blueprint on a pipeline in GitLab—not to be confused with GitHub.
Should the ...
1
vote
0
answers
34
views
Filtering by user with Elasticsearch for more secure endpoints
I'm trying to upgrade a JHipster v5 app to v7.9.3. With JHipster 5, I was able to secure Elasticsearch endpoints by adding a filter by the user's login.
public ResponseEntity<List<BloodPressure&...
0
votes
1
answer
57
views
Can I generate the application according to a package structure that I have determined in Jhipster?
I want to generate an app with a package structure and project directories that I have determined in Jhipster. Can I generate the application according to a package structure that I have determined in ...
0
votes
0
answers
18
views
Angular Hot Module Replacement not working for proxied paths
I am trying to get Hot Module Replacement to work.
When running: npm install && ng build --configuration development && ng serve --hmr no error is thrown. However, all the paths ...
0
votes
0
answers
23
views
I have an error while creating Jhipster Microservice app
**
ERROR! Error: spawn git ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:...
1
vote
1
answer
25
views
webpack files - Migration from jhipster@6.3.0 to jhipster@7.9.3
I don't find anymore this webpack configuration in new jhipster project generated with latest version. Shall I delete or keep these part of codes ?
module: {
rules: [{
test: /\.(j|...
-1
votes
2
answers
29
views
Is it possible to create the jdl file from user input and then generate classes from it? I would be very happy if you could give an example
I'm new to jhipster. Is it possible to create the jdl file from user input and then generate classes from it? I would be very happy if you could give an example. I want to create a web app, basically ...
0
votes
0
answers
19
views
One-to-many enum data type?
I need to implement an entity class with an attribute of a collection of enum data. I can't find any related JDL document on the subject. Is it something doable with JDL or do I need to change the ...
0
votes
0
answers
20
views
If destination host is not present in Angular requests, JHipster sets it as localhost:4201
In my auth-jwt.service I have:
return this.http.post(SERVER_API_URL + api/authenticate, data, { observe: 'response' }).pipe(map(authenticateSuccess.bind(this)));
I've set SERVER_API_URL as '' (empty).
...
0
votes
0
answers
30
views
How can we mock Objects/REST Call when using FeignClient in Spring Boot (Microservices)?
I am working on Micro-Services Project and a requirement came where the communication between 2 micro-services need to happen. So, I used FeignClient Interface Approach to get it done.
Here is the ...
2
votes
1
answer
60
views
Cannot find module 'E:\husky\lib\bin.js'
I am using windows to bootstrap a Springboot backend using jhipster. I am running into the error below concerning Husky for git hooks.
> eims-back@0.0.0 prepare
> husky install
The system ...
0
votes
0
answers
21
views
How is the frontend served in JHipster Production?
I am writing a small thesis about a project where we used JHipster. I am currently trying to explain how the deployment with JHipster works. I already found some great info how the Backend is deployed ...
0
votes
0
answers
27
views
Unauthorized: Full authentication is required to access this resource
When i request my registry url i see this message "Unauthorized: Full authentication is required to access this resource".
NB: I start my keycloak and my registry before)
0
votes
0
answers
41
views
JHipster: Persistent entities should not be used as arguments of "@RequestMapping" methods
guys!
I've generated an application using JHipster v7.9.3. However, when this app was evaluated by my SonarQube server, it failed.
One of the most common critical issues is the: RSPEC-4684 Persistent ...
0
votes
0
answers
23
views
how to fetch entity id at time of login in jhipster?
I want to fetch entity id using login based authentication in JHipster Keycloak.
if suppose i have college entity and abc college is present in college entity, then abccollgeadmin has logged in ...
0
votes
0
answers
17
views
jhipster bootswatch yo generator not installed
Good morning,
i want to add bootswatch module to change theme of jhipster project as needed. Following the guide https://www.npmjs.com/package/generator-jhipster-bootswatch I installed the npm install ...
0
votes
1
answer
51
views
Can't resolve module JHipster Micro-frontend
Hi I am running the command to generate microfrontend applications/microservices. I am running into the following errors when deploying my gateway application:
[INFO] ./src/main/webapp/app/app-...
0
votes
2
answers
75
views
Migration spring-boot from 2.1.8.RELEASE to 2.7.7- keeping spring-fox dependencies
I migrated a jhipster application generated with jhipster version 6.3.0.
Everything is right except swagger. I don't want for now to migrate to springdoc. I just kept springfox.
I get this exception ...
-1
votes
1
answer
43
views
problem with dependencies in my JHIPSTER application
I generated a jhipster project but I have problems with the built-in dependencies (priemeng and angular material)jhipster 7.0.1, my package.json
"dependencies": {
"-": "0....
0
votes
0
answers
24
views
JHipster 7.x missing modules?
When generating an application with version 7.9.3, during the questions to configure which modules to install, the modules for integrations with social networks and the type of cache do not appear.
...
0
votes
1
answer
81
views
Facing errors when try to build Jhipster app for production
When i run the command: mvnw -Pprod package -DskipTests i got theses errors:
PROJET_DIRECTORY>npm run webapp:prod
> guineeinfo@0.0.1-SNAPSHOT webapp:prod
> npm run clean-www && npm ...
0
votes
0
answers
62
views
JHipster - Keycloak - React: I am always getting redirected to localhost:9000/oauth2/authorization/oidc when trying to register a new user
I have an app built with JHipster 7.8, spring, react, keycloak.
When I try to register a user, in debug mode, it always call UserService.syncUserWithIdp... In the browser it seems to infinitly ...
0
votes
1
answer
60
views
JHipster Version 7.9.3 Using Local Blueprint Gives npm ERR! 404 Not Found
I use JFrog to manage my npm repository and have already created a virtual directory in which the blueprint exists (as part of the local directory). I have the following in my ~/.npmrc:
//...
0
votes
0
answers
81
views
Jhipster Auditing Entities
Hello I am using Jhipster to generate my backend code and I'm trying to add auditing fields to my entities, I am aware that my custom entity should extend the AbstractAuditingEntity class, but the ...
3
votes
1
answer
48
views
Internal distribution of JHipster blueprints and themes
Q. How can the generator-jhipster leverage an internal distribution point, e.g., Nexus NPM, &tc. for jhipster blueprints?
Background
We are adopting JHipster for several major application and ...
0
votes
2
answers
37
views
How to create columns in JDL, that only accepts two values, Y or N? Y meaning Yes and N meaning No
entity Platform {
platformName String required maxlength(100),
onPermiseFlag String maxlength(1),
cloudFlag String maxlength(1)
}
The column 'onPermiseFlag' and 'cloudFlag' can have only ...
0
votes
1
answer
33
views
Passing arguments to a dependent task in gradle
When I run ./gradlew bootRun, I'd like for the npmInstall task that it depends on to run with the "--force" or "--legacy-peer-deps" arguments.
I tried using ./gradlew bootRun ...
0
votes
0
answers
57
views
How to make jhipster react-js validateField select dropdown filterable?
I have a small Jhipster-generated application. And the application frontend client is React.
The application has a relationship with another entity and on create/update page there's a select dropdown ...
0
votes
1
answer
148
views
I'm trying to run Docker container from built image but get registry error
I cannot get the registry container for a Jhipster app to run. I'm following the instructions from https://www.jhipster.tech/docker-compose/#7 I'm at the step of executing the command
docker-...