5,203 questions
1
vote
2
answers
71
views
spring-cloud-gateway-webflux multiple Path predicates return 404
I’m having trouble with Spring Cloud Gateway (WebFlux) when I define multiple Path predicates for a single route.
Here is an example of my configuration in application.yml:
spring:
cloud:
...
0
votes
0
answers
79
views
Spring Boot app using AWS Parameter Store does not reflect updated values even after container restart (requires redeployment)
I have a Spring Boot application running in a container.
I configured AWS Parameter Store integration using:
/application/env/version/1.0/SPRING_CONFIG_IMPORT = aws:parameterstore:/application/env/...
0
votes
0
answers
80
views
Could not instantiate KafkaProperties
I'm migrating from Spring Boot 2 to Spring Boot3, i'm NOT migrating to Sprinc Cloud 4 but i will stay to SpringCloud 3 (i know Spring Boot 3 is mandatory if you want to use Spring Cloud 4 but not the ...
0
votes
1
answer
84
views
Gateway Server WebFlux Native with actuator port throws "trustedProxies must not be empty"
I created a Spring Cloud Gateway Reactive project with Actuator and Native compile. I specified the actuator to run on separate port. I populated trustedProxies to permit to forwarded headers.
...
0
votes
1
answer
60
views
How to distinguish user Token and client Token authentication in Spring Security?
Scene description
I am developing a microservice system based on Spring Boot + OpenFeign + Spring Security, which needs to handle two different authentication scenarios:
Scene One: User Access Chain
...
1
vote
1
answer
172
views
Functional bean can't be recognized by Spring Function
I have two configuration classes with functional beans:
@Configuration
public class PositionReporter {
@Bean
public Supplier<Aircraft> reportPositions() {
return () -> new ...
3
votes
1
answer
173
views
Disable @PreAuthorize
I have a Spring Security configuration for permitting all requests:
@Configuration
@EnableWebSecurity
@Profile("no-auth")
public class NoAuthSecurityConfig {
private static final Logger ...
0
votes
0
answers
36
views
Issue with polling multiple s3 files usin netflix archaius aws jar
I am facing a peculiar problem related to polling of s3 file for changes using archaius jar. I have two s3 file in a single bucket and want to poll the files for any changes separately.
I used the ...
0
votes
0
answers
30
views
Order of precedence of environment properties with multiple property sources having same name
I am new to spring cloud config server and config client. I have a scenario where my config server application is fetching one single property (test.password) from two different sources - Cyberark (...
0
votes
0
answers
84
views
Spring Cloud OpenFeign: global configuration not being applied
I'm working on a project using Java 21, Spring Cloud OpenFeign, and Apache HttpClient 5. I'm trying to create a global configuration for all Feign clients and allow client-specific behaviors via ...
0
votes
1
answer
226
views
Spring cloud gateway MVC routing
I have updated my spring boot project from 2.x to 3.x
I used to use zuul filters, which become deprecated and not usable.
My service is serve as a gateway proxy and also as a backend resource service ...
1
vote
0
answers
141
views
Spring Boot Application Fails with java.lang.NoClassDefFoundError: jakarta/inject/Provider at Startup
I'm working on a Spring Boot application using Spring Cloud Netflix Eureka. When I try to run the application, I get the following error:
org.springframework.beans.factory.BeanCreationException: Error ...
1
vote
0
answers
143
views
Getting NoClassDefFoundError for HttpClientProperties after Spring Boot Version upgrade from 3.4.3 to 3.5.3
After version upgrade to parent pom from 3.4.3 to 3.5.3,
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
...
0
votes
0
answers
73
views
Spring Boot Admin not showing apps details
my Spring Boot Admin dashboard is not showing details about apps: no health, no JVM resources usage, no Actuators introspections... any.
Following are my configurations:
server conf:
spring.boot....
0
votes
1
answer
54
views
spring-cloud-deployer-kubernetes:2.9.5 and kubernetes-model-core:7.3.1
I want to use above versions together, but failing with error:
java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.api.model.HTTPGetActionFluent io.fabric8.kubernetes.api.model.HTTPGetActionBuilder....