Category "spring-boot"

could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet with oauth

I am doing a rest service with java spring boot. The tables are created correctly in the database and locally test everything works correctly, but when I mount

What is the purpose of dependency management tag in pom.xml?

Can someone please explain what this dependency do under dependency management and after adding it why we don't need to mention version of our dependencies?

Add custom labels to default spring boot actuator metrics

I'm currently working on a Spring boot (webflux) project where we have exposed metrics of our application on /actuator/prometheus endpoint using spring boot act

Why Premature EOF Error has occur, while reading CSV file using SpringBoot Scheduled Task

Below shows the relevant code segments. Is it related to connection close or Buffer memory.? (The file, which contains 50MB+ AND 65000+ Text Lines) @Scheduled(c

How to add bearer token for prometheus job

I have started working on the Prometheus for my microservices. I was able to achieve it initially. Now, it's time to push the actuator endpoint under the spring

How to implement org.springframework.validation.Validator correctly?

I have seen the following validations are done in Spring Boot. I just wanted to validate some validation logic before saving the data to Database. So can anybod

Error on start of Spring Boot Application (Vaadin)

I tried to change port of Spring Boot application, activated Vaadin PRO, run in Eclipse/PowerShell, run in debug and without debug... I have node.js 12.16.1 (in

Unable to commit a container in Docker with Jar file

I have a created a Jar file using spring boot project and the container name is clever_bohr and i want to commit the container using the --change='CMD ["java","

Hystrix Dashboard keeps loading in Spring boot Microservices

Hystrix dashboard keeps loading as in below image,I have no idea why this is happening. Hystrix stream works fine as in below image, Cloud API Gateway Code Th

How to persist List<Object> as jsonb in hibernate

Below the Entity trying to persist : @Data @Entity @Table(name = "REQUEST") @TypeDef(name = "jsonb", typeClass = JsonBinaryType.class) public class Request { @

The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "" after upgrade to 2.2.5

Caused by: java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This co

GraphQL + Springboot + Http Headers

I'm using these graphql dependencies: "com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0", "com.graphql-java-kickstart:graphql-java-tools:12

Gradle cucumber error in command-line - command 'C:\Java\jdk-17\bin\java.exe'' finished with non-zero exit value 1

When I run cucumber test from IntelliJ terminal commandline and get subject error: λ gradlew cucumber

Read Array at index in jpa Query

I have a native Query that return a list of objects, i need to pass an array as parameter to the function getAllUsers. @Repository public interface UserReposito

Unable to configure Spring Cloud Consul for specific profiles

I'm trying to configure spring cloud consul for a specific profile but when I try to run the application I get the following error: ***************************

How to call a stored procedure in Spring Boot?

A query for a stored procedure for multiple delete yield an error message shown way below. CREATE OR REPLACE PROCEDURE delete_dim_page(_page_id bigint) LANGUAG

Thymleaf ->Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor'

I am trying to fetch add-journeyFooOrder view and unable to do(getting view saying - Whitelabel Error Page) so please help me by letting me know what I am doing

Ecommerce table problem mapping in hiberate

I have created a product table which has four foreign keys mapping to different tables and creating relationship of ManyToOne. so i created manytoone relationsh

Spring boot docker container is running, but cannot access via localhost/browser

I have tried to search other questions, but the solutions arent cutting it. I have a java spring boot application running inside docker, using the command below

How to update MicroMeter gauge according to labels

I use MicroMeter gauges in a Spring Boot 2 application to track statuses of objects. On status change, the statusArrived() method is called. This function shoul