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
I need some help with creating Aspect bean. I have module A, B... and module starter-x. I have a couple of Aspects declared in module starter-x, and configura
I'm using Spring 4 MVC with Jackson 2 for my service. For one of the operations I have a request object that has an attribute where the leading camel case word
After Spring starts, I open my ajax.html page, but nothing happens. There is no error message, the js file just doesn't start. If I write javascript-code in aja
Let me give a example here: Two entries in the collection Author: { "name" : "Joe" "Book" : "A" }, { "name" : "Joe" "Book" : "B" } Now, if I use the aggrega