Skip to content

Tag: spring-boot

Spring Security: error while loading keystore

I have a working spring boot application, when I do configure it to run in SSL mode as follow: Configuration, which is working for a similar spring boot application and exact same keystore It throws following Exception: Answer Apparently, this exception happens when you target a directory instead of the actua…

Is there a way to @Autowire non overridden methods?

I have an interface that is implemented by multiple classes, and these classes also have some extra methods. If I autowire the class. Is there a way I can autowire these extra methods? Example- Interface Service 1 Service 2 If I try to directly Autowire the service like this- then I am getting error something…

format a json of a class in spring

I am new with spring and I want the json response of my class public class Mapping { public String name; public Object value; } be changed from {“name” : ‘value of field name’, “value”: ‘value of field value’} to {‘value of field name’ : ‘value…

Spring-Boot MVC JPA Filters

Let me start by saying I’m fairly new to Spring Boot so apologies if I’m making a silly mistake somewhere. I am trying to retrieve the value of my form post using @RequestParam so I can utilize it in a JPA query to return kids who have a specific pet type. I’ve done other JPA queries and had…