4,909
questions
0
votes
0
answers
147
views
OAuth2 redirection issue with JHipster Gateway and Keycloak
I've built an application using JHipster which consists of a gateway and a frontend with OAuth2 authentication implemented through Keycloak. Everything works as expected when running locally. However, ...
0
votes
0
answers
683
views
Does JHipster 7.9.3 support Java 17, Spring boot 3 and Spring Framework 6?
I am using JHipster 7.9.3 in my current project using Java 11, Spring Boot 2.7. We are now in the process of upgrading to Java 17, Spring Boot 3 and Spring Framework 6 and I see the following error.
...
1
vote
0
answers
72
views
JHipster - How to handle Keycloak Login Error
I'm using JHipster gateway with Keycloak as identity provider.
Sometimes an error occurs during the Keycloak login process. Keycloak then routes me back to the gateway with this path: https://my-...
0
votes
0
answers
83
views
Using JHipster's generated tests in a similar project
I have an existing Java Spring Boot project which has zero test cases - all testing is manual. Let's call this app as MyApp.
I am thinking of
Using JHipster to create an app similar to MyApp - let's ...
0
votes
0
answers
56
views
Creating entities in jhipster without changing any other entities
I have a Jhiptser project and I created the entities using jdl file. now I want to add one more table. I created the following jdl file.
enum DistributionType {
Prize(Prize),
Donation (Donation)
}
...
0
votes
0
answers
40
views
jHipster Release 8.0.0-rc.1: Unable to run gateway app
I am getting following error:
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-10-20T17:33:24.634+05:30 ERROR 28508 --- [...
0
votes
1
answer
71
views
Jhipster Lite Generator
I cloned the jhipster-lite repo to my local pc, built and run it. It is working fine, but I cannot access the http://localhost:7471/generator, it is just showing a blank screen but the swagger and ...
0
votes
0
answers
38
views
Connect Hosted-UI cognito with jhipster
I am trying to connect the Hosted-UI interface of cognito with jhipster, but I really have no idea how to do it, I generated the jhipster project, I am only generating the front end according to the ...
0
votes
0
answers
93
views
SpringBoot - TestContainers - Liquibase - Cascade delete fails
I am migrating from real postgres testing to testContainers using spring-boot.
The test fails with this exception:
Reason: liquibase.exception.DatabaseException: ERROR: update or delete on table "...
0
votes
1
answer
109
views
Removing a property from entity in Jhipster
I remove a property from an entity in Jhipster and the system still looks for it when persisting to the database.
Example
I generated an entity previously with examples below then I went back to ...
0
votes
1
answer
30
views
How to Connect angular from phone to pc under same network
I need to connect from my phone to laptop where jhipster application running.
The phone and laptop are under same network.
I run these command in the laptop:
mvnw
npm start
then from my phone I go ...
0
votes
0
answers
43
views
Relationships with Authority in jhipster
I generated a new jhipster server side and I want to add more fields to Authority entity or Add relationships OneToOne but I got this error :
An error occured while running jhipster:entity#...
0
votes
0
answers
132
views
The AdminUI Option
I always selected the adminUI option for a JHipster project. Today, I don't select it for an unusual purpose. Its web page structure looks the same as those projects with adminUI. And the generated ...
0
votes
1
answer
119
views
Add a new profile in Jhipster
I have a spring boot project generated by Jhipster, I want to add a staging profile to the project, I also add this to pom file.
<profile>
<id>staging</id>
&...
0
votes
0
answers
48
views
Adding repository unit tests
To test the correction of extended repository methods, I created some unit tests. When I run those unit tests in Idea, all have passed. When I run the project build command with Gradle, all test cases ...
0
votes
0
answers
581
views
Enabling https for keycloak in docker-compose
I have generated an app using jhipster, and trying to configure keycloak for production (I am testing it on my local machine first), but I am struggling enabling https, please notice I want to connect ...
-1
votes
1
answer
54
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 ...
1
vote
0
answers
209
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 ...
2
votes
0
answers
62
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 ...
0
votes
0
answers
30
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....
0
votes
0
answers
27
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 ...
0
votes
0
answers
27
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\...
0
votes
0
answers
28
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 {...
0
votes
0
answers
144
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 ...
0
votes
0
answers
120
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....
0
votes
0
answers
127
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 ...
1
vote
0
answers
101
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 ...
0
votes
2
answers
296
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 ...
0
votes
1
answer
61
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 ...
0
votes
2
answers
104
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 ...
3
votes
1
answer
761
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": &...
0
votes
0
answers
188
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" ...
0
votes
1
answer
37
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 ...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
174
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 -...
0
votes
1
answer
36
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 ...
1
vote
0
answers
55
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 &...
0
votes
0
answers
47
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, ...
0
votes
0
answers
50
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 - ...
1
vote
0
answers
71
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 ...
0
votes
1
answer
66
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 ...
1
vote
1
answer
928
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.
...
0
votes
1
answer
72
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 ...
1
vote
1
answer
222
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 ...
1
vote
1
answer
463
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:...
0
votes
0
answers
226
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/...
0
votes
0
answers
197
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 ...
0
votes
0
answers
196
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 ...
0
votes
2
answers
917
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/...
0
votes
1
answer
324
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 ...