Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
4,847
questions
0
votes
0
answers
8
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 ...
-2
votes
0
answers
11
views
i18n JHipster Angular: is the situation still the same (not supported)?
Jhipster's website says:
JHipster is using the ngx-translate dependency for translation purpose. Angular CLI i18n is based on the default Angular i18n support, which is incompatible with JHipster.
And ...
0
votes
0
answers
16
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 ...
-3
votes
0
answers
9
views
Everything is ok, but executing './npmw install' in windows 10 pro [closed]
Access is denied.
Access is denied.
Error executing './npmw install', execute it yourself. (Command failed with exit code 1: ./npmw install)
enter image description here
JHipster v7.9.4
node v16.20.0
...
-1
votes
1
answer
21
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
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 ...
0
votes
1
answer
387
views
Problem during code generating after using JHipster JDL-Studio
Here is an error I get. Please help. I do not have any idea what to do at the moment. Thank you
[...]$ jhipster jdl ~/Pobrane/awex.jdl
INFO! Using JHipster version installed globally
INFO! Executing ...
0
votes
0
answers
6
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 ...
5
votes
1
answer
6k
views
How to create new angular component in jhipster
I have created a new project using jhipster and imported it into Intellij.
When i try to create a new angular component i get an error.Here is what i did:
File >> New >> Angular cli >&...
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....
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 ...
1
vote
1
answer
3k
views
Make a phone call to a user without using a third party url - telegram chatbot
I have a telegram chat bot implemented in java and jhipster with this API: rubenlagus/TelegramBots
I want to add a functionality: Make a phone call to a user without using callMeBot or similar. That ...
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\...
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 ...
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 {...
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 ...
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....
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 ...
0
votes
1
answer
1k
views
ERROR in node_modules/@types/glob/node_modules/@types/minimatch/index.d.ts
jhipster 6.0.0
error when running : yarn run webpack:prod
ERROR in node_modules/@types/glob/node_modules/@types/minimatch/index.d.ts(29,35): error TS1005: ',' expected.
node_modules/@types/glob/...
15
votes
7
answers
109k
views
Error creating bean with name 'liquibase' defined in class path resource ... /config/DatabaseConfiguration.class
I have this annoying error when starting Embedded Tomcat on my jHipster Project. Spent a lot of time trying to resolve it but can't figure out why it's happening. It started happening after updating ...
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 ...
3
votes
2
answers
2k
views
Only generate one war during package
By default JHipster generate 2 wars during the package phase (your_project_version.war & your_project_version.war.original). The first one is the executable jar and the second is the war you can ...
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 ...
37
votes
5
answers
43k
views
Angular 7 : Injected service is undefined
I tried to inject AccountService in the LoginService but it won't ,the accountService is undefined but in the other hand the authServiceProvider is defined .
Contrarily it injected perfectly in ...
0
votes
2
answers
45
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
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 ...
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 ...
8
votes
1
answer
6k
views
Keycloak cookies - KC_RESTART validation
I was going through Keycloak cookies, and specifically on KC_RESTART.
While reading on link : Keycloak Authentication flow
found that KC_RESTART will be used to re-create authentication flow when ...
2
votes
1
answer
80
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
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" ...
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 ...
0
votes
1
answer
127
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
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 ...
1
vote
1
answer
165
views
Trying to fetch related entity on JHipster and being tricked by Jackson?
I am trying to build an item -> details page on my application involving entities EcmOrder ->> EcmOrderItem -> Product as described below:
JDL model fragment:
By using side by side ...
0
votes
1
answer
189
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 ...
1
vote
1
answer
164
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
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! ...
0
votes
1
answer
50
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
2
answers
90
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
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 ...
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 ...
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 &...
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, ...
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 - ...
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 ...
0
votes
0
answers
99
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 ...
22
votes
7
answers
69k
views
Committing fails in Git hooks pre-commit because the node command wasn't found
I generated a JHipster app with Angular and Java, inside of a repository that I had previously made. I then generated some JDL classes with it and the build was successful, but when I tried to commit ...
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 ...
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 ...
1
vote
1
answer
65
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 ...