microservices-demo / carts

Carts service for microservices-demo application
https://github.com/microservices-demo/microservices-demo
Apache License 2.0
41 stars 1.98k forks source link

change maven jdk version from 11 to 8 #40

Open yimeng opened 2 years ago

yimeng commented 2 years ago

when i use maven:3.6-jdk-11 it show

[ERROR] Failed to execute goal on project carts: Could not resolve dependencies for project works.weave.microservices-demo:carts:jar:2.0.4.RELEASE: Could not find artifact org.openjfx:javafx.base:jar:11.0.0-SNAPSHOT in huaweicloud (https://repo.huaweicloud.com/repository/maven/) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

change jdk version to 8 to fix it.