Questions tagged [spring-boot]

Ask Question

Spring Boot is a framework that allows to easily create Spring-powered, production-grade applications and services with the absolute minimum fuss. It takes an opinionated view of the Spring platform designed to work for new and experienced users of Spring.

123,513 questions 6
0 votes 0 answers 7 views

Searching for tasks and deleting based on matching fields

Have to create a api for searching Tasks and delete if multiple Id's exist. How to implement the above functionality. Flow happens by 5 layers. user avatar Prudhvi Raj
  • 1
0 votes 0 answers 5 views

Hibernate Postgresql SQLXML

I use Spring boot with spring-jpa, database postgresql. I'd like to call Stored Procedure via EntityManager.createStoredProcedureQuery. One of stored procedure parameter is postgresql xml. If I ... user avatar Demid Demidov
  • 1
0 votes 0 answers 7 views

Spring threshold file size

In version 2.1.3, Failed to bind properties under 'spring.servlet.multipart.file-size-threshold' to org.springframework.util.unit.DataSize Property: spring.servlet.multipart.file-size-threshold=2KB ... user avatar andrefilipeos
  • 127
0 votes 0 answers 5 views

Override elasticsearch-rest-high-level-client version in spring boot

I need to override a library version from a spring boot starter. <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-... user avatar Pavel Petrashov
  • 863
1 vote 1 answer 14 views

Hibernate and strange OneToMany behaviour

I'm currently on spring-boot-starter-data-jpa:2.7.0 which uses hibernate:5.6.9. I've got a strange behavior when chaining multiple entities. I got three Entities, where E1 contains a OneToMany-List of ... user avatar tafli
  • 80
0 votes 3 answers 30 views

NgFor doesn't display data

Hi i have the project with spring boot, sql, angular. I have relations with one to many and I dont know how to display the second object in component html. My Componnent: @Component({ selector: 'app-... user avatar Hubert Kras
  • 11
0 votes 0 answers 8 views

Bearer Auth Header not working with feign client

I tried to access the API through feign client whose code is given below: @PostMapping(value ="/ProfileManagement/CheckBeneExist" , produces = MediaType.APPLICATION_JSON_VALUE) ... user avatar Vipin Mavi
  • 1
0 votes 0 answers 10 views

Insert Data into multiple tables Hibernate

I want to insert data in two tables User (user has a type user) and Secretaire, i try to Secretaire insert successfully but User Entity columns goes null, what do you think, what i should change. Here ... user avatar AyoubR
  • 35
0 votes 0 answers 7 views

Verifying webhook authenticity using Spring Boot

I am migrating some code to Java Spring Boot and using Zendesk Webhooks. The webhooks requests have two headers X-Zendesk-Webhook-Signature - the main signature X-Zendesk-Webhook-Signature-Timestamp - ... user avatar Jainam Shah
  • 175
0 votes 0 answers 5 views

How to define an error message for an invalid entry for required field in OpenAPI/Swagger?

type: object required: # List the required properties here - name properties: id: type: integer name: type: string How can I pass an error message when null ... user avatar Ramesh
  • 11
0 votes 0 answers 21 views

How to sort list of objects by string field with custom algorithm?

Imagine there are several classes as database tables, e.g. VicePresident, Director, Manager and Engineer, each of which has a string field reportPath with own formats. // table: vice_precidents class ... user avatar Mike
  • 53
0 votes 1 answer 14 views

Docker Java Springboot with MySQL: Public Key Retrieval is not allowed

I have a spring boot application connected to MySQL, and It works very well unless it is dockerized, when It is dockerized it throws an exception: 2022-06-16 14:50:22.355 ERROR com.zaxxer.hikari.pool.... user avatar Yousef Gamal
  • 1
0 votes 1 answer 14 views

Java Spring JPA Reference and return only one result from join table

I believe the code below is working correctly but my logic is flawed and so I'm looking for help getting the results I actually want. In addition I think my attempt on the JPA method is overly ... user avatar kuytsce
  • 43
0 votes 0 answers 17 views

Dealing with multiple DTO's while making web client post request in spring Boot

We have a body structure very similar to this :- {'a' : 'valueA1', 'b' : {'b1' : 'valueB1', 'b2' : 'valueB2'}} Now, we have a DTO for b which has b1 and b2. ''' public class B { private String b1; ... user avatar Saksham Behl
  • 1
0 votes 0 answers 5 views

How to get detail of actuator health status = down in springboot 1.5.8.Release

We are developing springboot web application with spring actuator version 1.5.8.RELEASE. At a time of deployment /health api restun status = UP but after 2-3 days it return status = DOWN with HttpCode ... user avatar chirag
  • 53

15 30 50 per page123458235

You Might Also Like