Closed 291277058 closed 4 years ago
init error
use the newest version
`<?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">
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.6.RELEASE</version> <!-- lookup parent from repository --> </parent> <groupId>com.sino.gameplus.sdkserver</groupId> <artifactId>sdkserver</artifactId> <version>0.0.1-SNAPSHOT</version> <name>SDKServer</name> <description>server for app sdk login,pay and some business function.</description> <properties> <maven.compiler.source>1.8</maven.compiler.source> <!-- The main class to start by executing java -jar --> <spring.version>4.3.4.RELEASE</spring.version> <spring-data-releasetrain>Lovelace-SR1</spring-data-releasetrain> <!-- <spring-data-releasetrain>Lovelace-SR16</spring-data-releasetrain>--> <!-- <spring-data-releasetrain>Moore-SR7</spring-data-releasetrain>--> <spring-data-dynamodb.version>5.1.0</spring-data-dynamodb.version> <!-- <aws-java-sdk-dynamodb.version>1.11.64</aws-java-sdk-dynamodb.version>--> <aws-java-sdk-dynamodb.version>1.11.772</aws-java-sdk-dynamodb.version> <jjwt.version>0.9.1</jjwt.version> </properties> <repositories> <repository> <id>dynamodb-local-oregon</id> <name>DynamoDB Local Release Repository</name> <url>https://s3.ap-southeast-1.amazonaws.com/dynamodb-local-singapore/release</url> </repository> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-releasetrain</artifactId> <version>${spring-data-releasetrain}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <!--lambda proxy--> <dependency> <groupId>com.amazonaws.serverless</groupId> <artifactId>aws-serverless-java-container-springboot2</artifactId> <version>1.5</version> </dependency> <!--token--> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>${jjwt.version}</version> </dependency> <dependency> <groupId>com.github.derjust</groupId> <artifactId>spring-data-dynamodb</artifactId> <version>${spring-data-dynamodb.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test</artifactId> <version>2.1.5.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.1.7.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>dev</id> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>DynamoDBLocal</artifactId> <version>[1.12,2.0)</version> </dependency> </dependencies> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>
`
<?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>2.2.6.RELEASE</version> <!-- lookup parent from repository --> </parent> <groupId>com.sino.gameplus.sdkserver</groupId> <artifactId>sdkserver</artifactId> <version>0.0.1-SNAPSHOT</version> <name>SDKServer</name> <description>server for app sdk login,pay and some business function.</description> <properties> <maven.compiler.source>1.8</maven.compiler.source> <!-- The main class to start by executing java -jar --> <spring.version>4.3.4.RELEASE</spring.version> <spring-data-releasetrain>Lovelace-SR1</spring-data-releasetrain> <!-- <spring-data-releasetrain>Lovelace-SR16</spring-data-releasetrain>--> <!-- <spring-data-releasetrain>Moore-SR7</spring-data-releasetrain>--> <spring-data-dynamodb.version>5.1.0</spring-data-dynamodb.version> <!-- <aws-java-sdk-dynamodb.version>1.11.64</aws-java-sdk-dynamodb.version>--> <aws-java-sdk-dynamodb.version>1.11.772</aws-java-sdk-dynamodb.version> <jjwt.version>0.9.1</jjwt.version> </properties> <repositories> <repository> <id>dynamodb-local-oregon</id> <name>DynamoDB Local Release Repository</name> <url>https://s3.ap-southeast-1.amazonaws.com/dynamodb-local-singapore/release</url> </repository> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-releasetrain</artifactId> <version>${spring-data-releasetrain}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <!--lambda proxy--> <dependency> <groupId>com.amazonaws.serverless</groupId> <artifactId>aws-serverless-java-container-springboot2</artifactId> <version>1.5</version> </dependency> <!--token--> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>${jjwt.version}</version> </dependency> <dependency> <groupId>com.github.derjust</groupId> <artifactId>spring-data-dynamodb</artifactId> <version>${spring-data-dynamodb.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test</artifactId> <version>2.1.5.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.1.7.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>dev</id> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>DynamoDBLocal</artifactId> <version>[1.12,2.0)</version> </dependency> </dependencies> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project>
All those information are logged by org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory on INFO level on startup. Or use java -version and mvn dependency:tree | grep -E 'spring|aws' to provide those version numbers.
org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory
INFO
java -version
mvn dependency:tree | grep -E 'spring|aws'
Expected Behavior
init error
Actual Behavior
use the newest version
Steps to Reproduce the Problem
`<?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">
`
Specifications
All those information are logged by
org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory
onINFO
level on startup. Or usejava -version
andmvn dependency:tree | grep -E 'spring|aws'
to provide those version numbers.