Questions tagged [jhipster]

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

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

From the homepage:

Our goal is to generate for you a complete and modern Web app or microservice architecture, unifying:

  • A high-performance and robust Java stack on the server side with Spring Boot
  • A sleek, modern, mobile-first front-end with Angular, React and Bootstrap
  • A robust microservice architecture with the JHipster Registry, Netflix OSS, the Elastic Stack and Docker
  • A powerful workflow to build your application with Yeoman, Webpack and Maven/Gradle

To find more information:

JHipster is Open Source, and all development is done on Github

4838 questions
10
votes
2 answers

How to call JHipster (Spring) OAuth2 Rest server using Postman Authentication helpers

Postman has Authentication helpers to help with authenticated calls and I'm trying to use the OAuth 2.0 helper to call a REST server created by JHipster using Spring (Security, Social, etc). I've tried a lot of configurations, this is the screen…
10
votes
3 answers

spring-boot-devtools causing ClassCastException while getting from cache.

I am facing issue while getting value from cache. java.lang.RuntimeException: java.lang.ClassCastException: com.mycom.admin.domain.User cannot be cast to com.mycom.admin.domain.User Cache…
titogeo
  • 2,156
  • 2
  • 24
  • 41
10
votes
1 answer

Can not apply DaoAuthenticationConfigurer to already built object

I'm getting this exception: [WARN] org.springframework.web.context.support.GenericWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error…
Ignasi
  • 5,887
  • 7
  • 45
  • 81
9
votes
3 answers

no-shadow False positive when declaring any TypeScript enum in JHipster app

I want to use an enum in my app : export const enum typeEnum { TVY = 'TVY', USER = 'USER', } At npm run webpack:build, I get the following error : 12:111 error 'typeEnum' is already declared in the upper scope no-shadow I read on several…
9
votes
1 answer

User Roles in Amazon Cognito

I have a Jhipster application that is authenticated with the Amazon Cognito. The users that can access this application are those that dont have access to the AWS Resources therefore I moved with user pools instead of Identity pools. Please let me…
prashant s
  • 148
  • 1
  • 1
  • 9
9
votes
2 answers

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 UserDetailsService with one configuration and during…
pronomy
  • 204
  • 4
  • 15
9
votes
1 answer

Can't create custom query method in Spring Data Repository

I wanted to create custom repository : public interface FriendRepositoryCustom { Page findFriends(FriendCriteria friendCriteria, Pageable pageable); } And its implementation : @Repository @Transactional(readOnly = true) public class…
user3364181
  • 531
  • 3
  • 14
  • 32
9
votes
1 answer

"./gradlew: Permission denied" when deploying a jhipster 5.1.0 project on Gitlab-CI

I am using jhipster 5.1.0, I used "jhipster ci-cd" in order to generate the .gitlab-ci.yml file. I am running Gitlab and Gitlab-CI on a private Ubuntu 18.04LTS server in my company. I configured the Gitlab Runner to execute the builds with…
PositronBeam
  • 136
  • 1
  • 6
9
votes
3 answers

Jhipster CORS enable

I am using Jhipster to generate API. My api is on lets call it : https://api.staging.test.com/ and my FE app is on : https://staging.test.com/ Here is my config for Cors enable in application-prod.yml cors: allowed-origins:…
user3364181
  • 531
  • 3
  • 14
  • 32
9
votes
2 answers

Jhipster - Configure multiple datasources

I have springBatch App where I was using multiple datasources which I configured as below which is pretty much straight forward. It was working fine. How to use 2 or more databases with spring? Now I had to integrate it to Jhipster project. I did…
karthik
  • 773
  • 2
  • 11
  • 19
9
votes
1 answer

What the configuration of spring-security-oauth2 authorizedGrantTypes means in practice?

For example on the default jhipster UAA configuration we have: clients.inMemory() .withClient("web_app") .scopes("openid") .autoApprove(true) .authorizedGrantTypes("implicit","refresh_token",…
Costa
  • 171
  • 1
  • 3
  • 5
9
votes
3 answers

MessageSource not being read properly during testing

I already checked with most similar questions and could not find a helpful answer. I am making a WebApplication via JHipster using Maven v3.3.9. Among other things, there is a PDF-generation that takes place. The web app is multilingual and uses…
Emir Masic
  • 184
  • 1
  • 2
  • 8
9
votes
2 answers

Convert entity property camel case to snake case in json in jhipster project

I am working with a project that is generated with jhipster. It is a micro service architecture project. In my entity class properties are named with camel case. So when I create a rest service it gives me json, where the json property names are as…
Md. Shougat Hossain
  • 501
  • 2
  • 8
  • 24
9
votes
4 answers

Spring Elasticsearch - None of the configured nodes are available

I am using spring-boot with Elasticsearch. The project was created using jhipster. pom.xml contains: spring-boot-starter-parent org.springframework.boot 1.4.0.RELEASE
Jean
  • 91
  • 1
  • 4
9
votes
4 answers

spring MVC use @JsonView on spring-data Page

I'm using Spring-MVC, Spring-data-jpa, jackson on a Jhipster project. I managed to use the @JsonView annotation on an object and it works well when the method in the rest controller return a type ResponseEntity> but I can't make it…
Maxime Gellé
  • 93
  • 1
  • 3