Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
4,852
questions
0
votes
0
answers
39
views
JHipster: When switching between two different OAuth2/Okta-enabled monolith applications in browser tabs, I get a 401 response which triggers login
We have two different OAuth2/OKTA-enabled JHipster monolith applications, one uses JHipster version 6.10.5, and the other version 7.9.2. These webapps use the OKTA sign-in widget and are represented ...
1
vote
1
answer
68
views
Getting error while trying add material-ui to the jhipster project
I created a jhipster application with angular as front end ui framework. The jhipster and node versions are given below.
jhipster: 7.9.3,
npm: '9.6.5',
node: '18.16.0',
now i want to add matrerial-ui ...
0
votes
0
answers
48
views
Missing script: start in JHipster
After creating a JHipster project, I get the following message:
Spring Boot application generated successfully.
Run your Spring Boot application:
./mvnw (mvnw if using Windows Command Prompt)
...
0
votes
2
answers
77
views
importing jdl file creates a lot of conflicts
I am new to jhipster and was trying out the import-jdl feature.
I created a sample application which uses mysql as database and angular for front end. i used the following configuration to create it. ...
0
votes
0
answers
25
views
What is the best way to handle a collection of non-entity classes in JHipster?
We currently are working on a third-party REST API integration. Many of those responses' JSON data have JSON arrays. The simplest case is an array of String data. To save the data in the same data ...
0
votes
0
answers
26
views
how to access a jhipster generated application's api from a standalone react application
I have generated a monolithic application (spring boot, react, keycloak) using jhipster 7.9, and it is fine for the admin panel, for users, I am building a new standalone react expo application, but I ...
0
votes
1
answer
127
views
How to solve JHipster automatically installing a beta instead of stable version?
I ran the command npm install -g generator-jhipster as JHipster's website states on the Homepage at chapter "JHipster Quick Start".
NPM installed version v8.0.0-beta.1. How to get rid of a ...
0
votes
0
answers
55
views
swagger ui is not available for jhipster application which has no client
I created a jhipster application which has now client. the initial configuration is options are given below,
? Which *type* of application would you like to create? Monolithic application (recommended ...
0
votes
1
answer
48
views
Popover overlaps modal in React-JHipster
I'm using ReactStrap tools to do my work but the problem is the popover that I add in a Font Awesome icon that overlaps the modal
This is my code:
<details data-popover="right">
...
0
votes
1
answer
44
views
jhipster omits configuration options when choosing to make application reactive with Spring WebFlux
I've noticed that when i create a new jhipster app using the jhipster-generator i'm not able to configure Websockets using Spring Websocket, Hibernate 2nd level Caching or Spring caching when i answer ...
2
votes
1
answer
40
views
Potential vulnerabilities in code generation tools
I'm working on building a code generation tool using JHipster. It gives promts on CLI through which customer can choose and then required Java package for CRUD layer of the micro service gets ...
0
votes
0
answers
26
views
Jhipster created_date column automatic?
I want to use either jhipster JDL or command to generate an entity that's contain created_date like the default jhi_user entity. In this one we can see that the created_date is defined as timestamp ...
2
votes
1
answer
112
views
Separation of micro frontend runtimes in JHipster
Assume we are having an microservice (MS) application containing of a bunch of micro frontends (MF).
I have a lack of understanding how the MFs shall be separated and how they shall be integrated into ...
0
votes
0
answers
567
views
How to fix 'incompatible version' error when running JHipster Test with Maven and JDK 17?
I created a project with JHipster and chose maven as the package manager.
I'm getting the following error when running the ./mvn:
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-versions) @ j-...
0
votes
0
answers
58
views
Nullpointer when testing indirectly referenced object in integration test in JHipster that is annotated with @Transactional
I created a JHipster sample application using the online generator (JHipster version 7.9.3) and imported a jdl that was generated by the JDL-Studio using the default contents.
I then changed the ...
0
votes
0
answers
24
views
Configuring test files in a jhipster project: Best practices and solutions
I have built a jhipster Spring boot React Maven project and want to build the project with related Testers via this command: ./mvnw -Pprod clean verify.
How could I configure test files to run without ...
0
votes
0
answers
29
views
How does the authentication works in Jhipster lite
Hi I'm new to the Jhipster lite, I have generated a microservice with Jwt authentication and I am also running the Jhipster registry. I used the default username and password admin/admin to generate ...
0
votes
1
answer
113
views
Angular Library module not found when consuming locally in JHipster
I'm trying to make reusable login component in my Jhipster application, so I created Angular library in order to achieve this. With that, we can use this login component in the other our applications ...
0
votes
1
answer
57
views
Creating a custom option in jdl
My question here is flashing in my mind,how to create a custom option in jdl file?
My use case is to add a pipeline like this
pipeline : [Jenkins,Azure,Gitlab,Travis]
And I know that there is a ...
0
votes
0
answers
38
views
I'm unable to run "jhipster jdl domain.jdl" to update an application On windows 11
I'm using jhipster 7.9.3, and node v18.16.0 on windows 11
I have an application that was generated using "jhipster" and then "jhipster jdl ./domain.jdl"
When I try to update the ...
0
votes
0
answers
28
views
Jhipster swagger configuration adding new Docket
I have spring boot app generated by Jhipster. And it creates OpenApiConfiguration by default but when I change this class Nothing is changing. How can I change Jhipster OpenApiConfiguration and how ...
0
votes
1
answer
64
views
Jhipster dockerized application fails behind a reverse proxy
I run my nginx reverse proxy in a server over ssl with the domain: mydomain.com.
This is below the nginx config:
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx....
0
votes
0
answers
16
views
Jhipster on prod build not being able to get base64Image from image upload ? But on Dev Build is Fine
I'm using AntDesign Upload image for capturing base64 string.
Below is the code:
import React, { useEffect, useState } from 'react';
import { MusicalRegisterIcon } from '../musicalRegisterIcon';
...
0
votes
0
answers
24
views
Can JHispter generate more advanced Repository structure other than a flat one?
Our app has ten similar entity classes with the shared attribute
boolean activated;
User user;
And a repository method
Long countByActivatedTrueAndUser(User user);
is required for all of those ...
0
votes
0
answers
108
views
Getting [ERR_PACKAGE_PATH_NOT_EXPORTED] error while trying to generate a jhipster application
So, I was trying to generate a new jhipster application (for the first time) and while the packages downloaded without any problems, while I tried to generate a jhipster application I got this error
...
1
vote
1
answer
216
views
I get an error when I try to create a project using jhipster
I installed nodejs and used
npm install -g generator-jhipster
then used jhipster to create the project but it gives me error like this.
INFO! Using bundled JHipster
node:internal/modules/cjs/loader:...
0
votes
1
answer
62
views
JHipster generated UI using microservices
I know that the doc says that there is no UI generated for a microservices app. Firstly, why not? Secondly, how can I work around this?
I'm going to be building an app that has three clearly ...
0
votes
1
answer
28
views
how to do not generate jhiPrefix with jhipster
By default, jhiPrefix is set to jhi.
In jdl, I want to set jhiPrefix no,but finally I get a no prefix.
if I set jhipster with no value,I get a error.
0
votes
0
answers
100
views
SpringBoot application-dev.yml Jhipster error when starting the application
When I try to start the SpringBoot application, i get this error:
APPLICATION FAILED TO START***************************Description:Failed to bind properties under 'spring.datasource.type' to java....
4
votes
0
answers
935
views
IntelliJ IDEA + (Docker) Compose V2 + Podman (Desktop) on Windows (WSL2)
The general question-idea is how to build a development setup on Windows for a Java web application (Spring Boot, actually JHipster) which relies on services running in containers?
Previously I used ...
0
votes
0
answers
127
views
How to override inner objects with mapstruct @MappingTarget while uisng NullValuePropertyMappingStrategy.IGNORE
I am trying to convert a DTO into an object to do a partial update.
my mapper looks like this:
@Named("partialUpdate")
@BeanMapping(nullValuePropertyMappingStrategy = ...
0
votes
0
answers
30
views
how can I solve the problem related to Npm install
I created the app using jhipster online. In order to run it, I need to run the frontend using npm, but when I run the npm install command, it gives the following results enter image description here. ...
0
votes
0
answers
33
views
What is the best approach to have some additional attributes of a User?
We need to have some additional attributes such as photo # and so on of the User entity. Based on what we learned, it shall be done by adding an entity that has a 1-to-1 relationship with the User ...
0
votes
0
answers
85
views
SecurityContextHolder returns null using custom LogoutHandler
The use case is to store the user name/id in a database, when logging out. When trying to retrieve the username from the context, I will receive always null.
In Debug mode I evaluated this line in ...
1
vote
0
answers
54
views
Jhipster microservices REST api retry
I am using Jhipster to create gateway and microservices. These are deployed on Azure Kubernetes cluster.
I noticed that sometimes an API can take more than 60 seconds. In such cases, this API is ...
0
votes
1
answer
197
views
Jhipster microservices: JWT authentication: 401 Unauthorized
When I tried to visit a protected URL of microservice through the gateway eg: HTTP://localhost:8080/services/microservicename/api/** I am getting the following error
401 Unauthorized, full ...
0
votes
0
answers
118
views
Jhipster multi-tenancy - Database per tenant
I want to implement multi-tenancy with Jhipster. In my approach,I want that each tenant’s data to be kept in a separate database instance and is isolated from other tenants.
How to implement that ...
-1
votes
1
answer
191
views
Beginner wanting to use optaplanner to solve Vehicle Routing Problem
I am doing a project which requires to use optaplanner for constraint solving and optimization. Can anyone tell me as to how one can get started? I have read the documentation on the optaplanner ...
0
votes
1
answer
32
views
Reusing jhipter generated classes
I have generated a jdl in a Jhipster project which gave me the entity, services and repository. I also have a normal spring boot project that is not jhipster, how do I copy the entity, service and ...
1
vote
0
answers
174
views
JHIpster project with spring-boot-starter-graphql
We are starting a JHipster based project, and we need to use graphql (spring-boot-starter-graphql). More concretely we are migrating a project that use spring-boot-starter-graphql dependency and we ...
0
votes
0
answers
35
views
Change jhipster vue login modal dialog behavior to a full login page
In jhipster vue, where do they control redirects in case the user is being logged out. The current logged out behavior is that the modal dialog pops up. How do I change it so that it can redirect to ...
0
votes
1
answer
64
views
Does JHipster 7.9.3 Application that uses Micro-frontends Deployed to Heroku, work?
Am getting the below message after deploying a JHipster 7.9.3-generated microservices application on Heroku. My application has 2 microservices (tajvoteservice and siennaservice) and both ...
0
votes
0
answers
38
views
Jhipster Lite 0.29 locally run; Button/Command Apply New/Apply Selected leads to Error-Message Modules not applied
I cloned JHipster Lite from Github.Build and Starting worked but when i try to select some Modules
under http://localhost:7471/landscape i got following Exception in my console:
2023-03-24T19:16:09....
1
vote
1
answer
100
views
iam trying to install kendo ui library in angular and jhipster project but i have always the same errors
ng add @progress/kendo-data-query
ℹ Using package manager: npm
✔ Package information loaded.
The package @progress/[email protected] will be installed and executed.
Would you like to proceed? ...
0
votes
0
answers
48
views
Jhipster: "Integrating react-select with JHipster-generated forms"
How can I integrate react-select with the form generated by JHipster? I'm currently using JHipster to scaffold my application and I want to use react-select for one of the form fields, but I'm not ...
0
votes
0
answers
148
views
What is java.lang.StackOverflowError: null error
Saving an object to MongoDB causes StackOverflowError
I was trying to saveTeam object which contains list of Employees.
I am using SpringData MongoDB and Jhipster to generate the code.
public Mono&...
0
votes
1
answer
58
views
Can't access jhipster user-management when deployed to docker
I created a simple jhipster file with microfrontend:
application {
config {
baseName testgateway
applicationType gateway
packageName com.example
authenticationType jwt
...
0
votes
0
answers
28
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
63
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
49
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] --------------------------------...