Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
2,087
questions with no upvoted or accepted answers
9
votes
0
answers
764
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?
8
votes
0
answers
723
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 ...
8
votes
1
answer
464
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!
7
votes
0
answers
866
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 ...
7
votes
0
answers
536
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",
...
6
votes
1
answer
359
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 ...
6
votes
0
answers
5k
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 ...
6
votes
0
answers
735
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 ...
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 ...
6
votes
2
answers
209
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 ...
5
votes
0
answers
2k
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 ...
5
votes
0
answers
508
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 ...
5
votes
0
answers
903
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 ...
5
votes
0
answers
7k
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: ...
5
votes
0
answers
677
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 ...
5
votes
0
answers
338
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!
...
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 ...
5
votes
0
answers
318
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 ...
5
votes
1
answer
822
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) ...
4
votes
0
answers
221
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]: ...
4
votes
1
answer
297
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 ...
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 ...
4
votes
1
answer
442
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 ...
4
votes
0
answers
393
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"). ...
4
votes
0
answers
208
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 ...
4
votes
1
answer
366
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! ...
4
votes
0
answers
620
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 ...
4
votes
0
answers
309
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 ...
4
votes
0
answers
248
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....
4
votes
0
answers
311
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 ...
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>
&...
4
votes
0
answers
4k
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 ...
4
votes
0
answers
820
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 ...
4
votes
0
answers
426
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-...
4
votes
0
answers
844
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 "...
4
votes
0
answers
399
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], ...
4
votes
1
answer
452
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:
...
4
votes
0
answers
539
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:
{
"...
4
votes
1
answer
669
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:
-...
4
votes
0
answers
299
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 ...
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.
...
4
votes
0
answers
354
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-...
4
votes
1
answer
164
views
Any performance recommendation on file or image storage on database or folder when using
Is there any performance recommendation/practice on file or image storage on either database or server folder when using jHipster. In traditional apps, it is recommended to store file or images in ...
4
votes
0
answers
1k
views
JHipster and SAML Integration
Just wondering if anyone has successfully implemented SAML integration in a JHipster application?
If so are there any samples or good tutorials I could follow?
4
votes
0
answers
528
views
How to generated entities having a relationship to the User entity in jhipster microservices
I want to create a jhipster entities having a relationship to the User entity in jhipster microservices but I don't know how since the user entity doesn't exist in jhipster microservices.
4
votes
0
answers
827
views
JHipster: Remember Me with oauth
I am new to JHipster. I have started working on a project that was created using JHipster. It is using OAuth2. I would like to add the remember-me functionality to it. I added this to the security ...
4
votes
2
answers
3k
views
Jhipster - Error while starting a jhipster mysql project
I am trying jhipster and ran into the following error while starting the application which is configured to use mysql as the backend:
Your database connection pool configuration is incorrect! The ...
4
votes
0
answers
320
views
Reduce Embedded Tomcat startup time on Prod profile
I am running a basic Jhipster generated app - see bottom for setup details - that is to be run on a single basic Heroku dyno for the time being. I use the embedded tomcat approach and all is working ...
4
votes
1
answer
700
views
Want Create Url in JHipster
I want to create a url like this abc.com/firstName.lastName.how i am implement this in our project can you help me please.
i have check you filter in WebConfigurer.java class
...
3
votes
2
answers
643
views
Debugging JHipster application throws: java.lang.ClassNotFoundException: org.h2.server.web.WebServlet
I've generated an application using JHipster 7.0.0. It has "monolith" as applicationType, "postgressql" as prodDatabaseType and "h2Disk" as devDatabaseType.
When I run ...