Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
4,862
questions
0
votes
0
answers
6
views
Deployment update after jhipster gae deprecation
Deployment in GCP is explained here: https://www.jhipster.tech/gcp/#deploying-microservices-to-google-app-engine but now that jhipster gae is deprecated, the whole thing is outdated and the new way to ...
0
votes
0
answers
18
views
Jhipster generated Springboot code fails to starup secondtime with hikari error SQLSTATE(08003)
Jhipster version 7.8.1
Springboot version 2.6.6
PostgreSQL 14.9
OS : Ubuntu
I generated a spring boot project and connected it to PostgreSQL successfully very first time.
The second time the ...
0
votes
0
answers
13
views
How to use Puppeteer in a JHipster Monolithic application?
I have created new simple project using jhipster 7.9.4 with the below jdl configs.
I need to have the Puppeteer (or any similar automation API) to open certain links. The links are provided in the ...
0
votes
0
answers
15
views
How to make two Jhipster webapp version coexist in Google Cloud App Engine?
Is it posible to deploy two versions of a Jhipster app in Google Cloud App Engine (using jhipster gae and gradlew appengineDeploy -Pgae -Pprod-gae) in a way that the can coexist?
When I deploy (...
0
votes
0
answers
36
views
Can a GCP f1 app engine instance run a Jhipster monolitic app?
I would like to know if anyone has tried to run a Jhipster webapp (basic: 4 entities) on a f1 Google Cloud app engine and if it has worked for them.
Thanks
0
votes
0
answers
14
views
Is "builtInEntity" a new requirement for Build-in Entities?
With the 8 release, the JDL import command yields something like
ERROR! In the relationship between MyEntity and User, MyEntity and User are not declared. If 'User' is a built-in entity declare like '...
0
votes
1
answer
26
views
Jhipster .yo-resolve file not working in version 8.0.0
Hey been using jhipster for about 4 months. With version 8.0.0 the .yo-resolve file seems to of stopped working for me. It will work for 8.0.0-rc1 but no matter what i try it does not skip over the ...
0
votes
0
answers
19
views
jhipster 8: What is the right/recommended way of reindexing ElasticSearch?
I'm using jhipster 8, enabled ElasticSearch. I'm still in the dev profile and I'm still cycling through generating the app. When starting the application, it doesn't reindex ElasticSearch, so the ...
-1
votes
0
answers
17
views
The frontend of the project created in jhipster is in vue 3. How to add quasar framework to this project
I have tried various ways but I'm having trouble connecting the quasar framework
I have tried all the ways on the quasar site.Please share your thoughts on adding the framework to an existing ...
0
votes
1
answer
88
views
jhipster8 build successful, then AggregateError
after upgrading my jhipster to latest, and tried to geenrate just the frontend using this cmd
jhipster --skip-server --db=sql --auth=jwt --jhi-prefix=cha --entity-suffix=cha
i'm facing this issue ...
0
votes
1
answer
28
views
jHipster 8: Can I use jhipster microservices with session based authentication. I want one login per user across ip and sessions
Does this jdl work?. I am using authenticationType session in gateway as well as microservices.
application {
config {
enableTranslation true
applicationType gateway
serviceDiscoveryType ...
1
vote
0
answers
50
views
Jhipster authentication with Azure AD (Entra ID) token for Security
I meet a problem during my development because I have a connection to a Azure AD (Azure Entra ID) in my React code.
I put the token receive by the front like this in the call api
But I got an error ...
0
votes
0
answers
19
views
Jhipster : Rest API should return JSON with 2 level depth relationship
I have a Jhipster web application, and I have a (native jhipster) rest GET API Resource, returning a ResponseEntity<List> data which are converted to JSON on frontend (for the native webpage ...
0
votes
0
answers
13
views
Trouble with JHipster's Improved Remember-Me Mechanism
I'm currently working with the latest version of JHipster and I intend to use it in a microservice environment. I want to use the authentication infrastructure jhipster provides and I've been trying ...
0
votes
1
answer
128
views
How to deploy JHipster v8+ on GCP without JHipster gae?
I used JHipster gae to deploy JHipster on GCP, as is explained here, but version 8 has dropped unmaintained deployment sub-generators (#23422):
aws
azure-app-service
azure-spring-cloud
cloudfoundry
...
0
votes
0
answers
66
views
Could not bind properties to JHipsterProperties
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 Jhipster 8.0.0-rc.1, Java 17, Spring Boot 3 and Spring Framework 6.
When I ...
0
votes
0
answers
32
views
JHipster - DTO and Entity generation
I am trying to generate code using Jhipster. Below is my JDL and it contains entity to generate JPA entity and also DTO. DTO is generated based on the given entity. Here is my problem. I need some ...
0
votes
0
answers
26
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
132
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.
...
0
votes
0
answers
29
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
21
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
25
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
31
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
0
answers
16
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
28
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
49
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
31
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
19
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
22
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
26
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
48
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
18
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
115
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
42
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 ...
0
votes
0
answers
56
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 ...
1
vote
0
answers
23
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
16
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
21
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
18
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
20
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
45
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
69
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
37
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 ...
0
votes
0
answers
56
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
45
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
115
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
33
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
45
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 ...
2
votes
1
answer
226
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
86
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" ...