Am getting a No converter found capable of converting from type Instant to type Long while using Spring and Cassandra. I have 2 Instant fields writtenDate (in t
I want to combine two Spring annotations into a single one. More exactly I want to combine @Component and @ConditionalOnBean into one annotation named @SubCompo
I'm using spring-multirabbit library : rabbitmq: host: localhost port: 5672 username: guest password: guest multirabbitmq: enabled: true
I am new to spring and trying to use Spring Initilizr for my project. I am using the code that was generated by this tool after adding dependencies for 'Spring
I didn't find any proper solution for this so maybe you can assist. Basically issue is ultra simple I want to do some kind of "better looking" error handling wh
We are using spring boot 2.1.5 and starter parent as pom dependency. Spring boot is using default logback for logging and we haven't explicitly switched to Log4
I have two Lists which I get - one from xlsx file, the second one - by select from database @Component public class ReadExcelDemo implements C
I am getting too many redirects error I and want to find in which method this happens. The url I am going is https://localhost:8443/OpenELIS-Global/ I tried sea
I've been googling and can't seem to find an answer to this question: Can a Spring Boot app get a lifecycle notification if its underlying broker connection (ei
Using EventNotifierSupport, I can listen for CamelContextStartedEvent. However, I need to add one more root to the context, after all the other routes have alre
I am very new to Spring Boot and development, so, I am stuck with a problem. I have an old project that needs to be migrated to Spring Boot. The original main m
I have a spring @Configuration bean which initializes a class A. This class A, in its constructor, calls another static method in class B. When spring initializ
I'm not sure I clearly understand how to use substates. I didn't find any good explained example of correct spring state machine configuration, so I would be gl
Inside a class that extends WebSecurityConfigurerAdapter, I have this authencitation method. I store my users inside an Active Directory. @Override publ
Annotation @Profile doesn't work or works wrongly. I want to get 7 beans: first-sixth and firstConfig. In package app.a I created three classes. package app.a;
I have set up a Geoserver instance. Now I need the GSR extension to have an ArcGIS compatible REST API. I installed the extension as described but on Geoserver
Let's say that there is a column called colours and it can have values red, blue, and green. I want to retrieve all rows except the ones where the colour is gre
I'm using a 3rd party dependency in my Spring Boot project (version 2.6.3) which has the following classes: @ConditionalOnProperty(prefix = "spring.cloud.vault"
Inconsistency between hibernate and postres. Consider we have table student having 2 columns id(Primary Key) and name. Perform the following concurrent query on
package Code; import java.util.*; public class PhoneNumber { public static void main(String[] args) { int[] digits = { 2, 3 }; // int n = n