Questions tagged [jhipster]

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

2,149 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 votes
0 answers
1k views

JSONB Column Type

I was reading through the JHipster "Creating an entity", and did not see any Field Type related to JSONB. Does JHipster have any examples of jsonb field types?
user2344484's user avatar
9 votes
0 answers
766 views

JHipster - Angular Universal integration example (issues and thoughts)

I have integrated a JHipster project with Angular Universal. You may find it here along with an explanation. I'd say it works pretty well for a simple project. It is also not hard to integrate (it's ...
Kuhax's user avatar
  • 109
9 votes
2 answers
8k views

Spring Security multiple UserDetailsService

I have 3 different tables and every table has user-information. (Maybe the same username but different passwords) Also, have 3 different URLs for authorization. Is it possible to use multiple ...
pronomy's user avatar
  • 204
8 votes
1 answer
7k 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 ...
Sarang's user avatar
  • 557
8 votes
1 answer
476 views

How can I social login by jHipster REST api?

I want use jHipster for native mobile app backend. I can register and login through api REST perfectly. But, how I do a social login through api? I cant find any endpoint Thanks!
Dan's user avatar
  • 91
7 votes
0 answers
982 views

How to choose from jhipster uaa and jhipster keycloak?

As I'm choosing the central user authentication module, I found Jhipster provided uaa and keycloak/okta. In my opinion, keycloak may be more general as it is used by all kinds of applications and can ...
user8986206's user avatar
7 votes
0 answers
574 views

jhipster generator to create JPA Entity representing nested documents in MongoDb collection

I am using jhipster with MongoDB. How can we define JPA Entity representing nested document in MongoDb collection using "yo jhipster:entity" eg: { _id: "joe", name: "Joe Bookreader", ...
Neeraj Kukreti's user avatar
6 votes
0 answers
379 views

jHipster, Keycloak - How to update user data on keycloak correctly?

I'm trying to figure out the best method to exchange user information between a Spring application, and an Identity Provider. To be specific, it's an application generated with jHipster, using ...
funder7's user avatar
  • 1,662
6 votes
0 answers
1k views

How Do I Update the Swagger UI Documentation in JHipster?

In my JHipster app, I have manually updated the OpenAPI spec file (api.yml), following official instructions for API-first development. However, the documentation (generated via Springfox) does not ...
sliute's user avatar
  • 101
6 votes
1 answer
545 views

How to use custom template in JHipster blueprint?

I am trying to override the a template Entity.java.ejs in my custom blueprint to add some extra functionality. Unfortunately JHipster uses its default one if generate an entity. I don’t want to ...
Niklas Heuer's user avatar
6 votes
0 answers
818 views

Integration of PostGIS with JHipster

We have currently a rather convoluted way of using the Geometry fieldtype of PostGIS with JHipster (4.6, currently trying to upgrade to 4.14 - which is not going smoothly - will probably post another ...
Nenad's user avatar
  • 181
6 votes
0 answers
2k views

Add custom AuthenticationProvider to Spring Security in JHipster

My main goal is to authenticate certain APIs differently in a JHipster application. Right now I'm using JHipster built-in stateless JWT authentication mechanism, which works just fine. I would like ...
zcsongor's user avatar
6 votes
2 answers
213 views

How do i integrate jhipster with Stormpath

I am trying to use jhipster. The sample works nice out of the box. I want to configure it to use Stormpath User management - https://github.com/stormpath/stormpath-spring-security/wiki I could not ...
appbootup's user avatar
  • 9,537
5 votes
1 answer
1k views

Redis with jHipster - Default configuration hasn't been specified

im using jhipster version 7.6.0 and this is my CacheConfiguration class. @Configuration @EnableCaching public class CacheConfiguration { private GitProperties gitProperties; private BuildProperties ...
Luka's user avatar
  • 63
5 votes
0 answers
3k views

Jhipster entity creation is giving error "Cannot read property 'toLowerCase' of undefined"

I want to create multiple entities, and use 1st entity as a dropdown in 2nd So created first entity with name: Then I gave it relationship with Jhipster Already created entity User: Finally: Now ...
Anshul Gupta's user avatar
5 votes
0 answers
634 views

JHipster and React: How to call function after calling asynchronous reducer action?

Use Case: I have a react application generated with JHipster. I need to get data from API, map to form contract, and then submit the form. Problem: JHipster generated reducer code doesn't return a ...
user2370642's user avatar
5 votes
0 answers
389 views

jhipster side by side generator (once)

I like the idea of the side-by-side development in JHipster to support easy upgrading, etc as demonstrated in https://www.youtube.com/watch?v=Gg5CYoBdpVo So instead of manually creating the ...
Amir T's user avatar
  • 2,718
5 votes
0 answers
8k views

"Missing list of packages to add to your project" error while install Heroku deploy plugin

I want deploy my JHipster application to Heroku, but when I run command "jhipster heroku", I received the following error: Installing Heroku CLI deployment plugin × { Error: Command failed: ...
Maciej Ostaszewski's user avatar
5 votes
0 answers
727 views

JHipster - Elasticsearch examples for search field

Having an example entity like entity Vehicle { id Long, manufacturer String, model String } and using ElasticSearch, how do queries in the search input field have ...
neblaz's user avatar
  • 703
5 votes
0 answers
359 views

JHipster and auth0, Error: auth is not defined?

I've run the tutorial below, integrating JHipster with auth0. https://auth0.com/blog/quicktip-use-jhipster/ When I click on the account signin option I get below, any help would be appreciated! ...
KieranH's user avatar
  • 51
5 votes
1 answer
1k views

Deploying a JHipster/MongoDB application to Heroku

JHipster offers sub-generators for deploying applications to cloud providers (such as Heroku and Openshift), but not for applications using MongoDB due to the fact that Mongeez requires admin ...
alapeno's user avatar
  • 2,744
5 votes
0 answers
333 views

Cookie theft attack on jhipster

I have an issue on a jhipster:1.10.2 project. When the client session expired, I have cookie theft attack on refreshing some of my page. I found here the reason. When I refresh my page, the first ...
bcousin's user avatar
  • 73
5 votes
1 answer
846 views

Javascript CRUD Admin for Spring-Data HATEOAS backend

We are using a Spring-Boot Spring-Data backend that utilizes JPARepositories with the @RepositoryRestResource annotation. We would like to administer the tables in these repositories (e.g. CRUD) ...
user avatar
4 votes
0 answers
1k views

IntelliJ IDEA + (Docker) Compose V2 + Podman (Desktop) on Windows (WSL2)

The general question-idea is how to build a development setup on Windows for a Java web application (Spring Boot, actually JHipster) which relies on services running in containers? Previously I used ...
imy's user avatar
  • 426
4 votes
0 answers
245 views

Jhipster : what is the meaning of "Unify blueprints configurations"?

I am trying to upgrade my app. When I type this cmd: npx jhipster upgrade. I have this question: ? Unify blueprints configurations? (Y/n) so I don't know how to answer it. What does it mean to unify ...
Cape_LeadWort's user avatar
4 votes
0 answers
17k views

How to Update Webpack

Here is how you update your webpack-cli for anyone else who was curious. This issue arose when I was creating a new JHipster project, and was having issues with npm start. First, check your version of ...
Taylor's user avatar
  • 129
4 votes
0 answers
405 views

Liquibase Hibernate missing SequenceStyleGenerator.generatorKey() error

I am trying to generate a diff changelog using Liquibase and Hibernate but when I run the command gradle diffChangeLog I get the following error: ERROR [liquibase.integration.commandline.Main]: ...
user2047296's user avatar
4 votes
1 answer
804 views

Race condition when use Kafka and JPA

I have a problem when using microservice and Kafka for example, I have Service A and Service B they communicate by Kafka and they share the same database inside the database and I have two entities A ...
Abdalrhman Alkraien's user avatar
4 votes
1 answer
2k views

Set SameSite attribute of JSESSIONID cookie - JHipster application

I'm trying to set the SameSite attribute of the JSESSIONID cookie in our JHipster gateway, and upon trying to verify in Chrome, there is nothing showing up under the SameSite column for it. Possibly ...
Grant Reighard's user avatar
4 votes
0 answers
2k views

Authentification of 2 APPs with the same Keycloak (SSO)

I need your help for a special usecase, I searched on the internet but didn't found anything that would mach my case. I'm new to keycloak so it may be something easy to do but I failed to resolve it : ...
Michel Man's user avatar
4 votes
1 answer
519 views

Why is initial webpack dev bundle so huge in JHipster?

I've created a new JHipster monolithic web application with Angular as a client-side framework. After running npm start I've noticed that the file 'main.bundle.js' is around 16.6 MB. I am aware that ...
Developer Thing's user avatar
4 votes
0 answers
620 views

Can't get JHipster version update

I tried to get JHipster version updated from 6.8.0 to 6.9.0. But my Node.js was too old for the task. Following some online instruction, I get Node.js to v14.2.0. (shown in the output of "nvm ls"). ...
vic's user avatar
  • 2,626
4 votes
0 answers
275 views

Use social login with Jhipster without OpenID Connect server

I generated a simple Jhipster application with jwt, and I would like to use Social login, but I don't want to use the OpenID Connect server (Keycloak or Okta). I just need a simple social login with ...
Artem's user avatar
  • 368
4 votes
1 answer
484 views

Could not retrieve version of JHipster declared by blueprint 'generator-jhipster-vuejs'

I'm not able to generate a complete project using jhipster --blueprints vuejs command. only the backend created, there is no /webapp directory. when i run the command, i got this : [![WARNING! ...
user avatar
4 votes
0 answers
905 views

JHipster - No qualifying bean of type 'org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory' available

I am developing a JHipster application. I have issues configuring SSL. I have generated a certificate using Letsencrypt and modified my yaml production file (enabled SSL). But when I deploy on my ...
chteril's user avatar
  • 41
4 votes
0 answers
373 views

how to handle exception thrown from org.springframework.security.core.userdetails.User for invalid credentials

I want to trigger an event if there is an invalid credential,in my code it goes to orelsethrow block(trying to achieve account lock).Is it possible to catch the exception thrown from "org....
Anuradha Neeraje's user avatar
4 votes
0 answers
493 views

JDL-generated getter for OneToMany related entity in DTO

I'm using JDL (JHipster 5.8.1) to define my domain model with DTO option: entity Event { title String maxlength(128) required, bannerUrl String maxlength(...
nickotinus's user avatar
4 votes
0 answers
509 views

Database model and api-first (openapi) methodology with JHipster and Java Spring

I'm trying to learn and use the API-first methodology with JHipster in Java and Spring. So far I have generated yaml file describing my API in OpenAPI 3.0 specification, then I have generated Java ...
user3157855's user avatar
4 votes
0 answers
1k views

querydsl Can't find a codec for class java.time.ZonedDateTime

On my jhipster project v5.7.1, i have added querydsl support in my pom .... <dependency> <groupId>com.querydsl</groupId> <artifactId>querydsl-mongodb</artifactId> &...
Andrea's user avatar
  • 77
4 votes
0 answers
5k views

No qualifying bean of type 'springfox.documentation.schema.TypeNameExtractor'

I'm trying to implement Swagger using the JHipster implementation as reference into my Kotlin application. However, when I run my tests, I get the following error for most of my tests (these tests ...
Jerry's user avatar
  • 1,157
4 votes
0 answers
972 views

SSO (Single Sign On): How to share keycloak session between two applications

I have a monolithic Spring Boot application generated by jhipster and microservice gateway also by jhipster. Both are secured with keycloak OpenID. I need both monolithic and microservice gateway work ...
John Salazar's user avatar
4 votes
0 answers
469 views

UnsatisfiedDependencyException when creating spring-boot application with Elastic Search and MongoDB, generated using Jhipster

I've generated a monolithic spring-boot application using the instruction on Jhipster main page. I've added both Elastic Search and MongoDb. This is my yo-rc.json file. yo-rc.json { "generator-...
Muhammad Zaid's user avatar
4 votes
0 answers
975 views

How to disable csrf for token based authentication and enable it for browser?

The gateway serves an angular application which attaches CSRF token to each request; it is ok. When I send a password grant type request from mobile (emulated by postman), there is an exception "...
James Hao's user avatar
  • 765
4 votes
0 answers
483 views

Can't resolve all parameters for NavbarComponent after injecting a service

I'm using angular 6 and I've an issue in a component NavBarComponent. issue : Can't resolve all parameters for NavbarComponent: (?, [object Object], [object Object], [object Object], [object Object], ...
Couim's user avatar
  • 735
4 votes
1 answer
470 views

Monitoring JHipster error starting jhipster-alerter

I have installed monitoring out of the box according to this link: http://www.jhipster.tech/monitoring/ When I start with: docker-compose up -d Everything starts but not Elastalert: First log: ...
powder366's user avatar
  • 4,401
4 votes
0 answers
609 views

Angular 4 and Jhipster i18n translateValue using string with character ':' inside

I'm new using internationalization; I'm working with angular 4 and jhipster version 4.6.0. I have in the folder i18n/en a file called actionProcess.json, inside of this file this properties: { "...
Orlando Yero's user avatar
4 votes
1 answer
752 views

Spring find 2 candidates, but there is only one

I'm trying upgrade a JHipster project, however I found the following issue: Description: Parameter 0 of constructor in com.cervaki.config.AsyncConfiguration required a single bean, but 2 were found: -...
brevleq's user avatar
  • 2,091
4 votes
0 answers
343 views

Problems when adding Eureka to JHipster monolithic application

I have a simple JHipster monolithic application that I would like to connect to an existing Eureka discovery service and see what services are running. However, if I add eureka to the pom.xml, I get ...
Rob's user avatar
  • 1,037
4 votes
0 answers
1k views

Getting IllegalStateException after upgrading jhipster 3.7

I'm working on project which is recently upgraded to 3.7.1, after upgrade whenever I'm using more than 1 request ( in my case it's 3 requests ) at same time I'm getting this error. ...
navid_gh's user avatar
  • 1,873
4 votes
0 answers
364 views

JHipster non-angular landing page

I want to use plain html views in a JHipster project as a landing page. Is there a best practice for a Spring-Boot controller? My goal is to use a non-angular html page for the path "/". The angular-...
Interfaced's user avatar

1
2 3 4 5
43