Category "spring-boot"

Unable to persist Spring data mongodb using save on repository

I am using Spring Data Mongodb and Embeded mongoDB to persist the data. Pom.xml <dependency> <groupId>org.springframework.boot</group

Many to many relationship doesn't add new Entity into the table

I have two entities Book and BookTag. They are connect by many to many relationship. @Getter @Setter @Entity @NoArgsConstructor @AllArgsConstructor @Builder(toB

train a model with djl

Good evening ! I'm starting with DJL. My code source is here https://github.com/ngandji/green_anthill.git someone can tell what is wrong in my code! I learn wit

SAST job fails + GitLab + Spring boot + Maven

I have a multi-module maven Spring Boot project. During the Test pipeline stage, I get the below error. The specified user settings file does not exist: /build

Spring Boot Server not loading React webpage

Issue: Hello! I've been spending a fair bit of time now trying to get a Spring Boot server to host a React Application. I've been able to work out nearly everyt

Problem with my response in Postman : i keep receiving the response in xml format

I keep receiving my response in xml i dont know why and i want it to be by default json, once i used jackson-dataformat-xml but i delete it and update it the pr

Why won't my SpringBoot Project program populate tables in the database?

I have tried connecting to my Spring Boot project to a PostgreSQL database for the past few days and I have no errors running this project but when I open up my

Oracle wallet -(Exception)Invalid number format for port number, while trying to establish JDBC connection

I am trying to make JDBC database call(Using Oracle wallet) using spring boot application but getting below exception. org.springframework.jdbc.CannotGetJdbcCon

Unable to connect IBMi machine with Spring Data & JPA

Trying connect IBMi machine by using Spring Data & JPA, but it's generating the error: org.springframework.beans.factory.BeanCreationException: Error creati

Oracle wallet -(Exception)Invalid number format for port number, while trying to establish JDBC connection

I am trying to make JDBC database call(Using Oracle wallet) using spring boot application but getting below exception. org.springframework.jdbc.CannotGetJdbcCon

Best practice for combining android client, spring-boot backend and Oauth2 social login

I am attempting to create a project that combines an Android client with a spring-boot microservices architecture in the backend. The client application will co

The default type resolver could not find a suitable Java type for GraphQL type `ArrayList. Provide a @DgsTypeResolver.`

I have a java - Spring Boot project using graphql and DGS from netflix. I have the following query: type Query { ticketingHistory(ticketId: String): TicketingHi

make repository mutually exclusive in springboot

Is there a way to make a repository mutually exclusive i.e two concurrent values not update the same document in Springboot. My code structure is. //func(versi

How to do a get request to SpringBoot java with an Array<Array<string>>?

I am doing a get request in angular with typescript and here it is: this.http.get("http://localhost:8080/data-management/data-users/getAllGeneralInfoCV/"+this.l

liquibase.exception.DatabaseException: ORA-01950: no privileges on tablespace 'VMSS_TBS'

Initially I was getting this exception while starting my service An attempt was made to call a method that does not exist. The attempt was made from the followi

Distribute cache between Pods in Kubernetes with Hazelcast in Spring boot application

I have a Spring boot application with Hibernate L2 cache enabled. I integrated Hazelcast as cache provider for Hibernate. My application runs on Kubernetes and

Why my CORS filters don't work? Spring Boot

My backend setup has big issues with CORS on REST controllers. I tried to apply all sorts of filters, none of them work. This is my current CORS filter implemen

How to disable auto login redirect in Spring Boot Keycloak Adapter

I am writing an API in Spring Boot that I want to secure using Keycloak. After doing some setting up, I managed to get the keycloak adapter to work. While I was

joinColumns in Hibernate for standard relations?

In the following example, there are 3 entities which have relations e.g. @ManyToMany, @OneToMany and @ManyToOne: Student: @Entity @Data public class Student {

Citrus httpServer & httpClient tests

I'm using Citrus for perform integration tests based on http requests. The test should perform steps as follows: Sending a POST http request to external service