Category "spring-boot"

Correct HTML Component with the name must be given correctly

I getting error Like Fail 1 Correct HTML Component with the name 'userName/contactNumber/emailId/confirmEmailId/status/submit' must be given correctly Fail 2

Caused by: org.flywaydb.core.api.FlywayException: Validate failed. Migration Checksum mismatch for migration 2

I tried to find the solution for the below problem, but none of them worked for me. I am developing Angular + Spring Boot application using MySQL + flyway. Plea

Support multiple pathmapping in Swagger UI/Spring boot

I am using swagger 2.0 in a Spring boot(version 1.5.9.RELEASE) project. Swagger works fine but now documentation have hundreds of api and I want to redirect doc

Serving static web resources in Spring Boot & Spring Security application

I am trying to develop Spring Boot web application and securing it using Spring security java configuration. After placing my static web resources in 'src/main

Creating Pagination in Spring Data JPA

I am trying to implement pagination feature in Spring Data JPA. I am referring this Blog My Controller contains following code : @RequestMapping(value="/orga

Keycloak / SpringBoot - The Issuer <https://example.com> provided in the OpenID Configuration did not match the requested issuer <https://bar.com>

I have an issue with a project I just join. The technical stack : Jhipster with Angular and SpringBoot Keycloak I replace the right url by example.com and bar.c

Java Spring-boot caused by: org.springframework.data.mapping.PropertyReferenceException: No property id found for type

I can't understand where is the problem Repository class: @Repository public interface PhotoRepository extends JpaRepository<Photo, UUID> { Page<Phot

Spring-Boot GraphQL QueryResolver is not called

When I call a query in graphiQL i get the following response { "errors": [ { "message": "The field at path '/customers' was declared as a non null t

Intellij "cannot resolve symbol" after installing spring boot

I've recently installed the plugin "spring boot assistant" into my Intellij. When I was trying to run an old java file that I've completed before, a lot of the

Column not found when running unit tests in Spring Boot

I have this problem when testing a JPA repository: Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "CREATED_AT" not found; SQL statement: ins

Spring Config Server - No such label: master

I have a simple Spring Cloud Config Server which consume configuration from git server. ConfigServer bootstrap.yml : spring: application: name: config-

Spring Boot 404 when trying to load a HTML file using Thymeleaf

Like the title says, I'm getting the Whitelabel 404 error page when trying to access localhost:8080. Main class: package com.michaelLong.studentaddressbook;

Spring Interceptor is not compatible with @RepositoryRestResource

@Component public class TestInterceptor implements HandlerInterceptor { @Override public void afterCompletion(HttpServletRequest arg0, HttpS

only one client consumed all message in kafka consumer group

There is 3 (node.js + kafka-node) client Following the tutorial, I made topic 'quickstart-events'. Topic: quickstart-events TopicId: oZC9g7FvTiOm-QIuPpyo

Stack over flow Error occurring when an internal API called from spring-boot

A Spring boot web application running in tomcat server suddenly encountered a stack over flow error. The error occurred seems to be due to spring-boot recursiv

Getting following error while migrating Spring boot version from 2.1.6 to Spring boot 2.4

Getting following error while migrating my project from Spring boot version 2.1.6 to 2.4 No more pattern data allowed after {*...} or ** pattern element Code Sn

How can I easily cache Kotlin Objects in Redis using json via Jackson?

I have a Spring boot app written in Kotlin where I would like to enable caching in Redis. I'd like to have the objects stored as serialized JSON and ideally don

Does application.yml support environment variables?

I tried using env variables in my application.yml configration like: spring: main: show_banner: false --- spring: profiles: production server: addr

Spring boot where is my jar file

Spring boot makes it really easy to setup a simple app. But it takes me longer to actually get a jar file which I can upload to a remote server. I am using Inte

Spring boot - @Service class calling another @Service class

Is it fine to have a @Service annotated class calling another @Service annotated class? Or it is a bad practice? Eg.: @Service public class MyService { //