Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
4,691
questions
0
votes
0
answers
24
views
How to update Heroku Postgress database after updated JDL entities on Jhipster
I have deployed a Jhipster application in Heroku using PostgreSQL as database. First time I deployed, the entities I created on the JDL file have been created as table on Postgres. Now I have created ...
0
votes
0
answers
34
views
Gateway uses r2dbc instead of jdbc - breaks Heroku
When deploying a gateway application to Heroku, the auto-generated application-heroku.yml will generate jdbc configs. However, I am unable to generate a gateway application that doesn't rely on the ...
0
votes
1
answer
53
views
How do I send an event to a Kafka topic from Jhipster Angular frontend?
I need to send a JSON event to my Kafka topic from a Jhipster Angular frontend. How should I go about doing this? I have no experience using Angular and no experience using REST API's. I have my REST ...
0
votes
0
answers
16
views
SSH alternative for Jhipster developing platform?
Looking for some help to build a secured web application. Can we implement SSH with Jhipster for secured encryption, instead of oauth, jwt, http?
0
votes
1
answer
99
views
authenticate a user inside a test class
I am new to spring boot and testing and I have spring boot app (generated with JHipster) that uses authentication. I need to get the id of the current user.
so this method inside userRepository ...
0
votes
0
answers
21
views
I am getting 'ws://localhost:8080/socket/926/dau1j54e/websocket' failed while implementing spring websocket in jhipster
I am trying to implement spring socket in jhipster and when I am trying to connect, it's throwing error in console as shown in the picture below.
Image of the error being thrown in the console
Backend ...
0
votes
0
answers
15
views
jHipster Websocket return 1006
I am using jHipster to build my backend java app with kwycloak oauth2 authentication, and now, and I want to add websocket support with stomp client.
What I did is add WebsocketConfiguration.java file:...
0
votes
0
answers
74
views
How to migrate data to new server? (Sequence generator issue)
What is the right way to backup and restore a MariaDB database that has sequence generation enabled (i.e. NOT autoincrement)? (This includes migrating to a new server.)
Is it possible to instruct the ...
0
votes
0
answers
55
views
How to generate UUID for User ID in jHipster
Is there any way to change the logic on how a user id is generated by default? It starts wit 1-2 like that.
Instead I want to generate UUIDs
0
votes
0
answers
26
views
Facing error while logging in Jhipster java monolithic project
I have created a java monolithic project through jhipster and I tried to sign in but getting error.
Compiled successfully.
<e> [webpack-dev-server] [HPM] Error occurred while proxying request ...
0
votes
1
answer
136
views
jhipster import-jdl error in jhipster monolith app when jdl has user entity relationship
I am trying to generate my monolith application using jhipster, but I haven't been successful. After troubleshooting I realized the issue is caused whenever I have a relationship to the user entity. ...
0
votes
1
answer
53
views
jhipster formatting scss files with trailing commas during file writing phase
My template (themes.scss.ejs) file has the following content (with formatting),
body.light,
body .light {
$base-light-theme: mat.define-light-theme((
color: ($palettes)
));
but the ...
0
votes
1
answer
63
views
JHipster liquibase not ready after choosing oracle db in dev & prod
I generated my app using JHipster, I chose Oracle database in dev and prod. then in application-dev.yml, application-prod.yml and in pom.xml I set the username, the password and the name of my Oracle ...
1
vote
1
answer
93
views
ERROR! This is a JHipster blueprint and should be used only like jhipster --blueprint
I tried creating a new blueprint using the steps provided in the
jhipster website
but I face the following issue,
➜ sampleProj jhipster --blueprint testbp
INFO! Switching to JHipster installed ...
0
votes
1
answer
117
views
JHipster 7: Database errors: Duplicate ID entry error
Recently, a JHipster 7.7.0 application started generating server side/database errors for ALL tables. The application was deployed in production, and users entered data without problem. Suppose ...
0
votes
0
answers
66
views
Jhipster swagger always showing unauthorised in prod environment
I am always getting unauthorised while trying to access swagger API documentation in jhipster. I am already logged in and I am able to access the API using the entities menu.
The issue is only in prod ...
0
votes
0
answers
24
views
Users CRUD operation on own data and persist logs in database
I have two problem:
persist logs in database as default and show logs in admin page.
What is the best solution in jhipster to each user or admin uses data is relevant to that user?
0
votes
1
answer
53
views
jhipster - possible to iterate on database schema using JDL Studio?
I'm new to jhipster, and have created a JDL file for Entities in my service using JDL Studio.
My goal is to keep iterating on my DB design, using JDL Studio, and then run the service so I can see the ...
0
votes
0
answers
74
views
Connection refused for jhipster with Angular
Here is the problem:
I initialized jhipster application on local and tried to run it with npm start and got following error:
[webpack-dev-server] [HPM] Error occurred while proxying request localhost:...
-1
votes
1
answer
211
views
OAuth/authorization end point is not returning with expected http 302 status, also session id and token information is missing in the response
I am upgrading my jhipster application to the latest jhipster version which is 7.6.0.
Jhipster 7.6.0 introduces latest version of spring boot (2.6.3) and spring framework (5.3.15)
For security ...
1
vote
1
answer
124
views
Jhipster code generator error jhipster --skip-client
I'm using this command to generate the jhipster code for server side only. but I am seeing an error: TypeError: Cannot read property 'push' of undefined.
Here is the output
Command: jhipster ...
0
votes
0
answers
119
views
JHipster/Java Spring Boot app wont' start when VS Code is running
I have a Java Sprint Boot application that I have been developing for a while with JHipster and VS Code. Everything has been working well, I have been able to start and debug it no problem. ...
0
votes
0
answers
29
views
How Prettier works In JHipster?
To use HTTPS, I uncomment the server.port:433 section in the application-prod-yml file and comment out the server.port:8080 section based on the document. After the change, I get "All collection ...
0
votes
1
answer
53
views
import-jdl fails when pasring entities
JHipster 7.7.0
I am trying to import the following JDL file:
entity UploadedResource {
fileName String required,
owner String required,
uploadedBy String required,
uploadTime Instant ...
0
votes
1
answer
28
views
How to connect class User of JHipster with an existing class containg users credentials
I have a project generated with Jhipster(Spring Boot) and I have an existing database with a table "Utilisateur" and this one contains already "username" and "password" ...
0
votes
1
answer
219
views
React-bootstrap Modal is not popping up onClick of function
I am working in a jhipster application. when I create my own modal and set the state to true, my custom modal shows on initial render of my application, but when I set it to false and try to call the ...
0
votes
0
answers
65
views
How to add production and development server_api_url in jhipster?
I have created angular + spring boot application using jhipster. Now during development i have used localhost:8080 for calling apis. But in production i need to update server_api_url to something http:...
0
votes
0
answers
60
views
jhipster: typescript: react-cookie-consent type not found
I am using generator-jhipster-cookie-consent with jhipster to set up my cookie consent, However I keep getting TS2307: Cannot find module 'react-cookie-consent' or its corresponding type declarations.
0
votes
0
answers
30
views
File is not downloaded from Spring endpoint
I'm trying to implement a endpoint into JHipster in order to download a file. I tried this:
Spring BE:
@GetMapping("/active-pairs-export")
public ResponseEntity<Resource> getFile() ...
0
votes
0
answers
59
views
Jhipster public api encounter Unauthorized status 401
My Project needs to set up a callback API to receive a biometric punchlog. I exposed a public API [.antMatchers("/api/daily-time-records").permitAll()] but I encounter error when I test it ...
0
votes
1
answer
85
views
jhipster based nhipster server start error
I am trying to generate Angular NestJS based application using Jhipster i.e, nhipster.
Below is my jhipster and nodejs version numbers:
Jhipster : 7.7.0
NodeJS: 16.14.0 LTS
But I am getting the below ...
0
votes
0
answers
650
views
Caused by: org.apache.maven.plugin.MojoExecutionException:
when I followed the jhipster guide in github,I met this error.
I run mvnw.cmd,then I get this.
It looks like I can't pass the test.what should I do?
It may caused by maven-enforcer-plugin.
I had try ...
1
vote
3
answers
251
views
Include/exclude Attributes in json response from application.yml
I am using JHipster(spring boot) to generate my project. I would like to hide/show fields in JSON from application.yml. for exemple:
I have the following class
@Entity
@Table(name = "port")
@...
0
votes
0
answers
20
views
JHipster Language Externalization
Is there any way to externalize (keeping them outside of the war file) the language files in JHipster?
I need to update some key's values without needing provide a new war file or stop/start app ...
1
vote
0
answers
30
views
Error - jhipster-native - TypeError: contents.replaceAll is not a function
I am creating a monolith app with jhipster-native. I got the following error.
ERROR! contents.replaceAll is not a function
TypeError: contents.replaceAll is not a function
at file:///usr/local/lib/...
0
votes
0
answers
12
views
Overriding JHipsterBasePrivateGenerator's functions in subgenerator of Jhipster blueprint
This is the function:
generateEntityClientImports(relationships, dto, clientFramework = this.clientFramework) {
const typeImports = new Map();
relationships.forEach(relationship => {
const ...
1
vote
1
answer
111
views
How to get original error thrown by another API?
Forgive me, if something I say is not totally correct, I am learning.
I have a web application A generated with JHipster. It is the main one that the end users will use. I have a second web ...
0
votes
0
answers
49
views
Some questions about JHipster blueprint/module creation
I've been trying to create a custom blueprint at work lately, but I'd like some help, because I honestly can't get a high level picture of what I should be doing. I have some general questions, and ...
0
votes
0
answers
19
views
How to create an enum with multiple fields?
Is it possible to create an enum with multiple fields with JDL?
See https://howtodoinjava.com/java/enum/enum-with-multiple-values/
Cheers
1
vote
1
answer
93
views
Error internationalizing a react jhipster app (resource not found :9000/i18n/de.json?_=ec3c1ea9a5a8fd2043ce89c304a07566:1)
I have created the a JHipster react app (monolithic - supports multiple languages En - Ar), and tried later to install German by following the steps mentioned here.
I am facing the following error in ...
0
votes
0
answers
87
views
Hibernate + spring multi tenancy wrong schema selected
I’m using Jhipster (Gradle + React) for one of my project, and recently, I want to add Multi-tenancy support to the whole application (tenant will be the company name, each user need to set during ...
2
votes
1
answer
142
views
How to workaround "The command line is too long" with GraalVM and Windows?
I'm trying to make a JHipster 7 app build with GraalVM on Windows. I've successfully got it to work with macOS and Linux. With Windows, I get an error about the command line being too long.
[INFO] ...
0
votes
0
answers
143
views
JHipster 7.7.0 monolith app with mssql failed to start, throws SSL exception
I generate a monolith app with jhipster 7.7.0, and dev database with mssql. start mssql with docker compose file, app failed to start and throws exceptions below
com.microsoft.sqlserver.jdbc....
0
votes
1
answer
275
views
Upgrade springboot version from 2.4.7 to 2.6.3 on a project generated by JHipster
I have generated a project using jHipster 7.1.0 which created an application (monolith) without client for me using springboot version 2.4.7
With recent times after release of new versions of spring I ...
0
votes
2
answers
550
views
Why do I keep getting "JSX is not defined no-undef"
While adding a carousel to my home page I ran into an issue. I get error:
'JSX' is not defined.
I have been looking on Stack Overflow, and GitHub as well as Google, they all give a relatively close ...
0
votes
0
answers
81
views
How to get started with JHipster and microservices?
I am using JHipster to not just make my company website, but the services we provide, from our store to learning zone, and then some at a later date. Now when I start just one microservice (learning) ...
1
vote
1
answer
71
views
Argument of type 'Observable<Pet>&Observable<HttpResponse<Pet>>&Observable<HttpEvent<Pet>>' is not assignable to 'Observable<HttpResponse<Pet>>'
I am trying to connect the generated openapi-generator angular code with the JHipster CRUD views. I was trying to edit and tailor them together for the Pet entity, however, I get the following error:
...
0
votes
0
answers
24
views
How to configure Routing Datasource in Jhipster?
I have used Jhipster to develop quite a few applications however today I run into a little problem and it is how to configure Transaction Routing Datasource in Jhipster. I am using Kubegres to set up ...
0
votes
1
answer
118
views
Ant design tables not displaying its style properties in Jhipster 7.3.1
I tried using Ant design table to display data on a component, but the table didn't show except the text. What type of data-table can I use with crud functionalities that will merge well with my ...
0
votes
1
answer
31
views
Why internalization is not working with JHIpster Microservices application
I developed one spring boot microservice application using jhipster
tool and we have one quotation.html form it contains name and details
of the product I am trying to apply langauage translations to ...