I'm sending API and receiving status code 400 with body I need to parse When working with RestTemplate I failed to parse response: try { ResponseEntity<
I am writing a Java application to send multipart request with attached files to an API that help me send an email with the attachments to the specified email.
I'm using Intellij IDE to code spring Boot. Spring Initializr was not available for me in the new project option as in. http://blog.jetbrains.com/idea/2015/03
I have never done this before, and most of the tutorials do not mention how to deal with .crt files. I bought an SSL certificate from GoDaddy, and selected To
how can i make BCryptPasswordEncoder() work in spring because in my application can't find that class about that and the message is not matching for dependenci
Error is as shown below. The problem is, occurring as below, this XmlWebApplicationContext need not occur, since it's injecting the bean again. How to avoid it?
Here is my controller class: @Controller @RequestMapping("/actuator") public class HealthController { @RequestMapping(value = "/metrics", method = RequestM
I use application.properties file to set DispatcherServlet path: server.servlet.path=/api/ When I go to url /api/, I get this exception: Caused by: org.spri
I have this class for CORS on my API: import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annota
I have a QuartzJobBean and I want to access my Spring Application Context from my Quartz job. I was following the directions located on the following blog. Howe
I am building a RESTful web service with Spring by following this guide. I am using grable to build the app but my build is failing. I used the "build gradle"
I'm trying to learn Java Spring and doing exactly like here: https://spring.io/guides/gs/securing-web/ But my IDE says "cannot resolve 'security' symbol" while
My project contains several services, each one is annotated with @SpringBootApplication and can be run on a random port via "gradle bootRun". Is it possible to
I'm trying to understand reactive part of spring 5. I have created simple rest endpoint for finding all entities using spring web-flux and spring data reactive
I have a strange behaviour with R2DBC Pool: We happen to create a large number of threads and send them to the R2DBC pool to acquire a DB connection. When all o
I'm trying to get metadata in JSON format of a class in Spring Boot, but I don't really know how to start. I have created my class, that is a random one, just t
I am try to get the FF4j (ff4j.org) web console to work. According to the documentation on the website, I use the following configuration: <servlet>
In my Spring app I have implemented form on my page and I don't know why it looks different when I run it on localhost from when i clicked in the Intellij chrom
I have log4j2.xml properties: <?xml version="1.0" encoding="UTF-8"?> <Configuration> <Appenders> <Console name="Console" target
Is it possible to schedule Spring service method only once at exactly specified time? For example, current time is 2pm but when I hit the action button I want t