HelloJPro
HelloJPro copied to clipboard
Could not resolve com.sandec.jpro:jpro-plugin-gradle:2019.1.2
javafx8 branch is not working fine, because dependency path is missing
Logs:
JAVA_HOME="C:\Program Files\Java\jdk1.8.0_192"
cd D:\HelloJPro; D:\Programs\gradle-5.6.4-all\bin\gradle.bat -a --configure-on-demand -w -x check clean jproRun
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'HelloJPro'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve com.sandec.jpro:jpro-plugin-gradle:2019.1.2.
Required by:
project :
> Could not resolve com.sandec.jpro:jpro-plugin-gradle:2019.1.2.
> Could not get resource 'http://sandec.bintray.com/repo/com/sandec/jpro/jpro-plugin-gradle/2019.1.2/jpro-plugin-gradle-2019.1.2.pom'.
> Could not GET 'http://sandec.bintray.com/repo/com/sandec/jpro/jpro-plugin-gradle/2019.1.2/jpro-plugin-gradle-2019.1.2.pom'. Received status code 502 from server: Bad Gateway
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
Gradle internal IO problem has been detected.
The running build may or may not have finished succesfully.
Anyway to solve this problem???
Yes, you can change to the new repository:
maven {
url "https://sandec.jfrog.io/artifactory/repo"
}
All the old artifacts are still available. But be aware that this version is very old, has many fixed bugs, and nowadays we use our JavaFX Fork, which can only be used with Java11, which solves more problems.
@FlorianKirmaier I already have tried new repository URL, but still it not solves the problem because it's still looking for old place of repo.
logs:
JAVA_HOME="C:\Program Files\Java\jdk1.8.0_192"
cd D:\HelloJPro; D:\Programs\gradle-5.6.4-all\bin\gradle.bat --configure-on-demand -a -x check clean build
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'HelloJPro'.
> Could not resolve all files for configuration ':jproserver'.
> Could not resolve com.sandec.jpro:jpro-server_2.12:2019.2.7.
Required by:
project :
> Could not resolve com.sandec.jpro:jpro-server_2.12:2019.2.7.
> Could not get resource 'https://sandec.bintray.com/repo/com/sandec/jpro/jpro-server_2.12/2019.2.7/jpro-server_2.12-2019.2.7.pom'.
> Could not GET 'https://sandec.bintray.com/repo/com/sandec/jpro/jpro-server_2.12/2019.2.7/jpro-server_2.12-2019.2.7.pom'. Received status code 502 from server: Bad Gateway
> Could not resolve com.sandec.jpro:jpro-java8_2.12:2019.2.7.
Required by:
project :
> Could not resolve com.sandec.jpro:jpro-java8_2.12:2019.2.7.
> Could not get resource 'https://sandec.bintray.com/repo/com/sandec/jpro/jpro-java8_2.12/2019.2.7/jpro-java8_2.12-2019.2.7.pom'.
> Could not GET 'https://sandec.bintray.com/repo/com/sandec/jpro/jpro-java8_2.12/2019.2.7/jpro-java8_2.12-2019.2.7.pom'. Received status code 502 from server: Bad Gateway
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
Gradle internal IO problem has been detected.
The running build may or may not have finished succesfully.
You have to add it in the build-script block, and in the repositories block below.
@FlorianKirmaier Thanks! Your solutions works just a charm
I have updated my gradle.build file to very latest libs, which also solve the problem
Please updates all javafx8 projects of jPro repository for feature reference / helps, also HelloJPro>javafx8 too.