Comments (5)
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>s3-demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>s3-demo</name>
<description>s3-demo</description>
<properties>
<java.version>17</java.version>
<spring-cloud.version>2022.0.5-SNAPSHOT</spring-cloud.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
</dependency>
<dependency>
<groupId>io.awspring.cloud</groupId>
<artifactId>spring-cloud-aws-starter-s3</artifactId>
<version>3.0.3</version>
</dependency>
<dependency>
<groupId>io.awspring.cloud</groupId>
<artifactId>spring-cloud-aws-autoconfigure</artifactId>
<version>3.0.3</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.17.195</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</project>
from spring-cloud-config.
Can you try using Spring Cloud AWS 3.0.3? It is the version that is compatible with the version of Spring Boot and Cloud that you are using.
from spring-cloud-config.
Thanks a ton @ryanjbaxter for the inputs. I have tried now and it works as expected.
I have another project wherein i am using Java 8 along with the following dependencies:
- spring Boot(2.7.17)
- spring-cloud-config-server(2021.0.8). It is compatible with Java 8
should i be using Spring Cloud AWS 3.0.3 there as well? If not, can you please tell compatible versions for java 1.8
Thanks
from spring-cloud-config.
No I don’t believe spring cloud AWS 3.0.x is compatible with spring boot 2.7.x. I believe you will need to use spring cloud AWS 2.4.x
from spring-cloud-config.
Thanks a ton @ryanjbaxter for the inputs. I have tried now and it works as expected.
I have another project wherein i am using Java 8 along with the following dependencies:
- spring Boot(2.7.17)
- spring-cloud-config-server(2021.0.8). It is compatible with Java 8
should i be using Spring Cloud AWS 3.0.3 there as well? If not, can you please tell compatible versions for java 1.8
Thanks
@kssingh600 - I am trying a similar setup and facing the same problem. can you please share your pom.xml. Thanks
from spring-cloud-config.
Related Issues (20)
- Config Server Backend Source HA requirement HOT 6
- Applying common configuration to app level configuration or any feasibility HOT 1
- Ability to customize the default ObservationEnvironmentRepositoryObservationConvention HOT 4
- After upgrading spring-cloud-config-client from 4.0.2 to 4.1.0 and Spring Boot from 3.1.5 to 3.2.0 properties from application.yml are missing
- AWS Parameter Store Environment Repository returns profiles in the wrong order
- spring.main.allow-circular-references=true does not work HOT 1
- Spring Profile Active is not setting
- Incorrect prioritizing of profile specific property sources HOT 20
- Process AOT - Error with "composite" profile in Spring Cloud Config Server generating Native Image HOT 3
- Moving spring cloud config server with s3 backend from bootstrap.yml to application.yml
- Using scheduler and refresh scope HOT 3
- Question: resolving maps by properties/yml endpoint HOT 5
- Enable force refresh by forceRefresh query parameter regardless of refreshRate HOT 1
- Spring Cloud Config client not able to connect to the Spring Cloud Config server HOT 5
- Upgrade the bcprov-jdk18on dependency to 1.78 HOT 1
- Pass JWT token to spring cloud config server HOT 2
- [Refactoring] Introduce RequestContext to easily pass new parameters to downstream methods
- Spring Boot Cloud Config Unable to Decrypt Password even symetric key is being provided via Yml Config
- Allow Users To Customize HttpClient HOT 1
- [Issue] Spring Cloud Starter Config(spring cloud config client) prevents loading of vault secrets HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-config.