Skip to content
Advertisement

Tag: jhipster

Spring Cloud Stream send/consume message to different partitions with KafkaHeaders.Message_KEY

I set 2 different message keys for 2 partitions . This is my application.yml for producer application To test parallelism, I created a consumer application that reads messages from pf-topic. This is configuration from consumer application. . I created a function in consumer application to consume messages Now it is time for testing. To test parallelism, I run 2 instances

enabling Elasticsearch in JHipster results in UnsatisfiedDependencyException: Error creating bean with name ‘userService’

I’ve been trying to build an app with JHipster that can use some advanced filtering, in particular ElasticSearch. Why does it fail when I run it out of the box, without even editing the project ? I am running the following software in Windows 10: Java v15.0.2 node v14.17.4 NPM 6.14.14 Same happens in Ubuntu with: Java v17.0.1 node v16.14.0

Error creating bean with name ‘solverManager’, Unsatisfied dependency expressed through constructor parameter

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures using Spring-boot framework. Jhipster has “straight to go” script to deploy on google cloud. Optaplanner is an AI library which helps solve planning and scheduling problems. My goal is to use Jhipster to develop quickly a platform which resort to optaplanner to solve

Error processing condition on org.springframework.boot.actuate.autoconfigure.metrics.MetricsEndpointAutoConfiguration

I am a novice Java Spring programmer. I am moving some test code from an older jHipster project to a new one. I added this to the pom.xml to fix a compilation error. This fixed my compilation issue but caused runtime errors. I am now getting these runtime errors. Caused by: java.lang.IllegalStateException: Error processing condition on org.springframework.boot.actuate.autoconfigure.metrics.MetricsEndpointAutoConfiguration Caused by: java.lang.IllegalArgumentException:

package org.springframework.cloud.netflix.zuul does not exist

I am moving some test code from an older jHipster project to a new one. The old project uses the org.springframework.cloud.netflix.zuul library, specifically org.springframework.cloud:spring-cloud-netflix-core:1.3.0.RELEASE . I put the below in my new project’s pom.xml: However, it seems to be pulling in org.springframework.boot:spring-boot:2.2.5.RELEASE. This release does not contain zuul in it however, as this code fails import org.springframework.cloud.netflix.zuul. Does anyone know

How to disable Keep alive in SpringBoot application in docker image

We have a Web application with following technologies: Java, SpringBoot, Docker, Microservices, Jhipster. The port number for the frontend container is 80. I am trying to disable keep alive option for the frontend microservice because SSO Authentication Server requires this parameter set to be false. I tried to create the front container with maven : mvn -Pqpm,no-liquibase -Dhttp.keepAlive=false clean verify

How I can specify the version of JDK for travis CI

I have the file .travis.yml generated by JHipster and I would like to use adopt open jdk 12 for travis, but I can not set it. Update alternative doesn’t work, I always see error: resetting java alternatives and second error update-alternatives: error: no alternatives for mozilla-javaplugin.so And jdk is always OpenJDK 11 openjdk version “11.0.2” 2019-01-15 Answer Add below matrix

error:Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild dockerizing JHipster-Registry

When I run this command: in jhipster-registry standard project, to dockerize this application, I get this error: The link suggested in Help1 is: https://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Answer This is a “generic error message”. My solution is: This clean the docker images/container and the build docker images of registry gonna be ok.

jHipster: how to generate only entities during jdl import

jHipster: how to generate only entities during jdl import or entities plus dto and mappers? Answer To generate just entities (and skip application JDL generation), you can pass –ignore-application. The full command will look like: jhipster import-jdl jhipster-jdl.jh –ignore-application If you want DTOs and Mappers, add dto * with mapstruct to the bottom of your JDL. More info in the

Advertisement