Category "spring-boot"

Need a direct way of implementing Azure spring data cosmos db query implementation for a nested parameter

Say for example an object in cosmosDb looks like this:- {   att1: val1,   att2: val2,   att3: {   att4: val4,   att5: val5  

Getting java.lang.NoSuchMethodError: org.yaml.snakeyaml.Yaml.<init> while running spark based spring boot application

SnakeYaml jar present at classPath: snakeyaml-1.26.jar 2330 [main] ERROR org.springframework.boot.SpringApplication - Application run failed java.lang.NoSuchMe

How to read geography values using hibernate?

In my spring boot application, I am trying to store spatial data using spring data with hibernate (jpa). Full source code of minimal reproducing example is avai

AuthenticationSuccessEvent never fired

I writing app where user logs in using facebook. My security config/application class: @SpringBootApplication @EnableOAuth2Sso @ComponentScan(basePackages = {

JdbcBatchItemWriter - setSql - How to fix timestamp type mismatch

I am using JdbcBatchItemWriter in my Springboot application to import data from a CSV file into an Oracle DB, but I’m not able to import in timestamps. I

How to set default current date in jpa for mysql

I am trying to generate current date automatically but getting this error You have an error in your SQL syntax; check the manual that corresponds to your MySQL

How to configure hikari pool for eager initialization?

I want to configure the Hikari pool to eagerly initialize on application startup and not when first query is issued. As of now spring initializr project shows

Custom HealthIndicator not invoked during startup

I implemented a custom HealthIndicator for our application, which is working fine. I noticed that when I run the application through my IDE (tested with both I

Postman returns null when using POST (Spring Boot)

** Update Updated the input in Postman: { "firstName": "Thierry", "lastName": "Blossom", "dateOfBirth": "1981-01-20", "email": "thierry@gmai

SonnarQube's issue: change code to not construct the URL from user-controlled data

I facing a SonarQube bug and am not able to figure out whats the issue. SonnarQube's issue is, change this code to not construct the URL from user-controlled da

CORS : Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request [duplicate]

I am trying to integrate the angualar js app with the backend spring boot , in which i am facing the redirection is not allowed for a prefligh

Spring boot: ERROR StatusLogger Log4j2 could not find a logging implementation

I trying to add log4j2 to spring boot project but it is giving below error. ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-

Spring boot: ERROR StatusLogger Log4j2 could not find a logging implementation

I trying to add log4j2 to spring boot project but it is giving below error. ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-

Spring boot: ERROR StatusLogger Log4j2 could not find a logging implementation

I trying to add log4j2 to spring boot project but it is giving below error. ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-

Spring boot: ERROR StatusLogger Log4j2 could not find a logging implementation

I trying to add log4j2 to spring boot project but it is giving below error. ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-