Category "spring-boot"

What does joinPoint.proceed() do?

It is my first approaching to AOP. I've a spring-boot application with one Aspect, a Logger. Searching i reach to the conclusion that the @Around method execute

Plugin [id: 'org.springframework.boot', version: '2.2.4.RELEASE'] was not found in any of the following sources:

I have just downloaded the springboot project from http://start.spring.io/. After running it I got this error. * What went wrong: Plugin [id: 'org.springframewo

SpringBoot Web MVC Application cannot resolve JSP views

I am trying to implement a web application using Springboot. but when I request methods I get 404 Error. Springboot cannot find Jsp files. this is my Controller

Junit (4.12) is not executing after spring-boot 2.6.2 migration

I have migrated from Spring to Spring-boot version 2.6.2. mvn clean install is successful but none of the junit(version 4.12) is executing. After few research I

which dependency is overriding version of a transitive dependency (Maven)

I'm using the below dependency: <dependency> <groupId>com.azure</groupId> <artifactId>azure-identity</artifactId> <versio

Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set.

I am getting exception even after setting hibernate.dialect property. I am using hibernate 5.0.11 with spring boot 1.4.2 and mysql version as 5.7 application.p

Error in multipart file upload: Failed to parse multipart servlet request; nested exception is java.io.IOException

We have an API to upload document. We got a very strange error and we got this error for the first time on our server. This is the API structure. @PatchMapping(

Proxy setting not working with Spring WebClient

My following WebClient is working fine with internet connection but not through our proxy connection. WebClient webClient = WebClient.builder() .baseUr

ObjectMapper enable method is deprecated

I'm upgrading the version of my project and I am currently using jackson-databind-2.13.0 .But I noticed that ObjectMapper's enable method is deprecated. They sa

Cannot run container that build from azure pipeline with Spring boot

I tried to run a container that build from azure pipeline and I have encountered with this error below. I run it on local and it works just fine and the pipelin

Spring-boot default profile for integration tests

Spring-boot utilizes Spring profiles which allow for instance to have separate config for different environments. One way I use this feature is to configure tes

Spring-boot default profile for integration tests

Spring-boot utilizes Spring profiles which allow for instance to have separate config for different environments. One way I use this feature is to configure tes

How can I add a filter class in Spring Boot?

Is there any annotation for a Filter class (for web applications) in Spring Boot? Perhaps @Filter? I want to add a custom filter in my project. The Spring Boot

Current request is not a multipart request-When i send form data and an object in angular to spring boot

I'm sending a custom Object and formData to Spring boot from angular but an error is thrown -"Current request is not a multipart request". when i do this every

How to allow CrossOrigin from all domains?

Is there anyway to make this end point allow request from anywhere? I've tried like but none of them worked. @CrossOrigin(origins = "") @CrossOrigin(orig

How to set a button onclick event and link to Thymeleaf controller?

I am trying to write some code where, once the user clicks a button, it will do some set of code in my Thymeleaf controller class. I tried looking on other vari

Error running Spring boot quickstart project

I am configuring a basic spring boot program as mentioned on its website, but I am getting the following error : C:\Users\destin\OneDrive\Documents\jdk-11.0.10

NoSuchFileException while running docker image,

I'm new to docker and AWS. I am trying to connect with AWS keyspaces using truststore certificate(cassandra_truststore.jks), I kept the certificate in project r

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