Questions tagged [jhipster]

JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
13 views

What is the best practice of JHispter consumization? [closed]

We need to add additional methods to those generated classes starting with repositories and services. To do so, we create additional classes for a better migration in the future JHipster release. For ...
vic's user avatar
  • 2,566
0 votes
0 answers
16 views

How to customize the order of groups in Open API definitions

I have a Jhipster generated reactive spring-boot application. By default jhipster generates 2 different groups in open api definitions: default and management. In the UI, default is the first option ...
Rithu's user avatar
  • 79
0 votes
0 answers
5 views

Is jpaDerivedIdentifier deprecated?

I noticed a code change of replacing jpaDerivedIdentifier with builtInEntity. To my understanding, they are for different subjects. In my experience, jpaDerivedIdentifier didn't work in practice. I ...
vic's user avatar
  • 2,566
0 votes
0 answers
12 views

Get and Put the same data to Redis in two different spring project

I have a project generated by Jhipster, in the project I put the data to Redis using this: import java.time.Instant; import java.util.Objects; import lombok.extern.slf4j.Slf4j; import org....
pxq's user avatar
  • 11
0 votes
0 answers
14 views

Relationship with the same data type of multiple entities

There are three entities: A, B, and C in the same data type. That is they are the same from an application logic point of view. Now, another entity D has a many-to-one relationship with three entities ...
vic's user avatar
  • 2,566
0 votes
0 answers
15 views

JHipster Generator Customizations (IDE config)

I want to make some frontend changes to the JHipster Generator v7.9.3. Actually I have already made some changes in the entity-client subgenerator. For example, in generators\entity-client\templates\...
Kleinstein11's user avatar
0 votes
0 answers
14 views

How can i solve the problem Violation d'index unique ou clé primaire in my project jhipster quarkus

I was trying to develop a Jhipster Quarkus app with two entities, Product and Category. I've generated the app but when I try to add a category I get the issue mentioned my jdl file : `entity Product {...
Mame Sandeck Niang's user avatar
0 votes
0 answers
32 views

How can I filter entities in JHipster using the 'LIKE' operator? It seems that JHipster does not natively support the 'LIKE' operator

JHipster Entity filtering itself has limitations, It seems that does not provide support 'LIKE' operator. It only supports 'equal,' 'notEqual,' 'contains,' 'does not contain,' 'exist,' and 'does not ...
Shiva Rena's user avatar
0 votes
0 answers
29 views

java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with

Getting this error while writing test case in Jhipster springboot version: 2.7.3 @DataJpaTest @AutoConfigureTestDatabase() @TestPropertySource(locations = "classpath:config/application-testdev....
Shivani 's user avatar
0 votes
0 answers
19 views

I generate application with Jhipster 8.0.0-beta.2 but sonar analysis appears error

Overview of the issue I generate application with Jhipster 8.0.0-beta.2 but sonar analysis appears error, when execute in jenkins file. Motivation for or Use Case I need sonar analysis. Reproduce the ...
Javier Vazquez's user avatar
0 votes
0 answers
40 views

Jhipster[5.x.x] project upgrade jdk-8 to jdk 11

I want to upgrade my 5 years old jhipster project with the latest changes by updating , spring boot - 2.0.4.RELEASE jdk 8 jhipster-dependency - 2.0.15 firebird - 3.0.9 [does not support jdk 17] my ...
user1517193's user avatar
1 vote
0 answers
25 views

Jhipster project, Angular select dropdown, how to call function to load more data as options

In my Jhipster project, I have two entities, a User entity and a UserProfile entity. They have a OneToOne relationship. This would mean for every userProfile created, I must be able to link a user ...
MiMoy's user avatar
  • 11
0 votes
2 answers
44 views

Angular 16.2.0 with TypeScript 5.1.6: Unexpected value 'NgJhipsterModule' imported error

I'm using "@angular/core": "^16.2.0", "typescript": "5.1.6", and "ng-jhipster": "0.16.0" in my Angular project. When trying to run the ...
Sumit Arora's user avatar
  • 5,071
0 votes
1 answer
21 views

Custom modification in generated files

I'm searching for the correct way to modify as i wish the generated file that are create when running jhipster entity. Let's take an example, i have generate a Foo entity, this have create some files ...
Maxence Blais's user avatar
0 votes
2 answers
32 views

Unable to install JHipster

I am trying to install JHipster on a Mac M1 (Ventura). Unfortunately, I am encountering difficulties in completing the installation successfully. I have already installed Node.js version 18.17.1 and ...
Shiva Rena's user avatar
2 votes
1 answer
79 views

Upgrading ng-jhipster Library for Compatibility with Angular 16.2.0

I am working on an Angular application that relies on the ng-jhipster library, specifically version 0.16.0. Here's the relevant section from the package.json of ng-jhipster: { "name": &...
Sumit Arora's user avatar
  • 5,071
0 votes
0 answers
56 views

JHipster banner.txt

I use this banner.txt file for my JHipster project. Here is an extract from my banner.txt file enter image description here Here is an extract from my pom.xml file <?xml version="1.0" ...
Sayddus24's user avatar
0 votes
1 answer
27 views

Spring schedule task not working when setting it with a specific day of the month (@IsCronTabSchedule)

I want to schedule a task that runs every month on the 9th day at 11 AM. I use this expression: "0 0 9 08 * *" but it not working. But when I use "0 0 9 * * *". Then it runs at 9 ...
Khalid Bin Huda's user avatar
0 votes
0 answers
16 views

Jhipster repository to load bag relationships

I was playing with Jhipster and once I got BagRelationships classes generated for me. I am not sure what caused it and what option should I use in CLI or JDL to generate those again. I tried to search ...
Shaheen Zahedi's user avatar
0 votes
0 answers
33 views

Unable to upgrade Jhipster from v6.6.0 to latest stable version 7.9.3 or beta version 8.0.0-beta.2

I have upgraded node version to latest 18.17.0 and updated all the global npm packages available. While I am trying to upgrade jhipster project using angular and springboot giving below errors. ERROR! ...
ashish naghate's user avatar
0 votes
1 answer
179 views

Maven build failed because of modernizer plugin

I have created a jhipster project. after making some changes in the java code i am not able to run "mvn clean install" command. I had created a Mapstruct mapper class for an API. That is the ...
Sanal M's user avatar
  • 307
0 votes
0 answers
20 views

JHipster, Entities Menu Item failed to load for Micro Frontends

I am using JHipster 8.0.8.beta-1 with Angular, Java, Micro Services, Micro Frontends, no database for my gateway microservice and MSSQL for the database for the microservice server. I have one gateway ...
Mark Wright's user avatar
0 votes
1 answer
49 views

deploying keycloak generated by JHipster on linux behind nginx resulting in https error "Mixed Content: The page at"

I am using jhipster generator, after generating the application this is my keycloak.yml file: version: '3.8' services: keycloak: image: quay.io/keycloak/keycloak:19.0.1 command: ['start-dev -...
Galilo Galilo's user avatar
0 votes
1 answer
23 views

Same data type, but can't have the same name?

Some of our data entities have more than one collection of child entities with the same data type. Here is a JDL file to illustrate the relationship. entity Parent { name String headOfHousehold ...
vic's user avatar
  • 2,566
1 vote
0 answers
31 views

Is web.xml needed in a Jhipster generated reactive spring-boot gateway application?

My web application is generated using Jhipster framework. It is a gateway application and I am using reactive spring-boot. I can see a web.xml is generated and it has <mime-mapping> tag inside &...
Aryan's user avatar
  • 13
0 votes
0 answers
21 views

JHipster - User changelog generated every time, on fresh project

I have tried to create a new project with JHIpster version 7.9.3 (but the same problem appears with previous versions and with new 8 beta versions). The project is a simple Monolithic project, ...
Nicola Zambon's user avatar
0 votes
0 answers
39 views

v8.0.0-beta.2 - Error: src/main/webapp/app/core/util/data-util.service.ts:4:24 - error TS7016: Could not find a declaration file for module 'buffer'

I upgraded to jhipster v8.0.0-beta.2 I create a project using a jdl file with a config{...} I get the following error. [jhipster] Error: src/main/webapp/app/core/util/data-util.service.ts:4:24 - ...
emilly's user avatar
  • 53
0 votes
0 answers
43 views

Can we upgrade from Jhipster 8.0.1 beta version to new stable version available in future?

Can we upgrade from Jhipster 8.0.1 beta version to new stable version available in future? I installed Jhipster 8.0.1 beta version and wanted to upgrade to new stable version available in future. Can ...
ashish naghate's user avatar
0 votes
1 answer
33 views

Relationships not saved with Microservices

I've been struggling to get my relationships to be saved when I converted my application from a monolith to microservices. I can update them via the webapp but on refresh or viewing the database the ...
jelharou's user avatar
1 vote
1 answer
158 views

JHipster 8 beta JDL How to add relation to built in entity User

I am trying to associate a post to the currently logged in user but I get errors when I try to generate entities. What I'm trying to do seems similar to examples I see online and the documentation. ...
Daniel's user avatar
  • 11
0 votes
1 answer
31 views

Grouping entities into different packages?

We have a large number of entities for different aspects/parts of the application. The JDL file has over 6,000 lines and growing. To have a better organization of these entities and prevent entity ...
vic's user avatar
  • 2,566
1 vote
1 answer
64 views

No operations defined in spec! appear after setting context-path in jhipster application

I made a monolith java application (java + angular) from jhipster-generator v7.9.3 and then specified its servers on http://localhost:8080/demo/ by the below configuration Set context-path: /demo ...
Cuong Nguyen's user avatar
0 votes
1 answer
121 views

jsPDF not generating PDF in production ( maybe an issue with webpack conf ? )

In an Angular app generated by JHipster, I managed to produce PDFs via jsPDF in dev mode. But when I build it and push it on a VPS, adding images in the doc crashes the webApp. 717.1183bdcffdb5d922.js:...
Manolo de la Vega's user avatar
0 votes
0 answers
51 views

Jhipster installed by npm fails to start

I installed Jhipster using npm, on WSL. When I launch Jhipster, I get the following error message: $ jhipster (node:19323) UnhandledPromiseRejectionWarning: Error: Not supported at /usr/local/lib/...
guilhem's user avatar
  • 21
0 votes
0 answers
98 views

Jhipster 7.9.3 generated project with test database mysql (same as prod), the HibernateTimeZoneIT tests fails

I created a simple JHipster project through the command line, jhipster and selected the dev database to be set to "mysql", which uses testcontainers to run the integration tests. I added no ...
MiMoy's user avatar
  • 11
0 votes
0 answers
85 views

JHipster issue: Cannot find symbols for Entities, Tables

I recently had to uninstall JHipster and reinstall v7.9.3 since I was using v8.0.0 and it was using a version of Hibernate that was not working for me since I needed TypeDefs. However, after ...
Diana's user avatar
  • 95
0 votes
2 answers
84 views

scss file import getting error after angular and bootstrap upgrade

I created a jhipster application. It got created with angular version 14. Later i upgraded it to 16. but running "ng build" throws error on the below line. @import '~bootswatch/dist/materia/...
Sanal M's user avatar
  • 307
0 votes
1 answer
159 views

JHipster based react application and dynamic form support

We have Spring boot react based application (JHipster) which has many user interfaces along with default entities user interface. For our application we want to provide form builder which will be used ...
Sariq Shaikh's user avatar
0 votes
0 answers
18 views

JHipster Embedded Tomcat Access Logs

I can't get access logs working for embedded Tomcat with JHipster (v8 beta or v7). I got them working for a regular Spring Boot project instantly, so I don't know why I can't get them working when I ...
Kevin Wheeler's user avatar
0 votes
0 answers
26 views

Spring / Jhipster QueryService filter with many to many relation

I'm using QueryService generated with Jhispter, and I'm trying to use them to filter a list of list. It works fine when I filter on fields of this entity, but now I have to do something a bit more ...
Sara's user avatar
  • 1
0 votes
1 answer
68 views

Installing Angular Material into JHpster - npm ERR

To install Angular Material into a JHipster 7.9.3 app I am following https://material.angular.io/guide/getting-started and https://cyril-casaucau.medium.com/how-to-add-angular-material-on-an-jhipster-...
Harper2021's user avatar
0 votes
1 answer
159 views

Setting Content-Security-Policy in JHipster

I have 2 JHipster Spring Boot Apps. In dev A runs on localhost:8083 and B on localhost:8080. In app A I have added an API Controller, which works fine when triggered from Postman. From app B, when an ...
Harper2021's user avatar
1 vote
1 answer
102 views

Enabling CORS in Spring Boot JHipster givng "Failed to bind properties" error

To enable CORS in a JHipster Spring Boot app I am uncommenting the settings in application.ym. jhipster: clientApp: name: 'modelDfApp' # By default CORS is disabled. Uncomment to enable. ...
Harper2021's user avatar
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 ...
G Ray-Co's user avatar
1 vote
1 answer
65 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 ...
Sanal M's user avatar
  • 307
0 votes
0 answers
45 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) ...
Diana's user avatar
  • 95
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. ...
Sanal M's user avatar
  • 307
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 ...
vic's user avatar
  • 2,566
0 votes
0 answers
24 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 ...
Galilo Galilo's user avatar
0 votes
1 answer
123 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 ...
Semo's user avatar
  • 793

1
2 3 4 5
97