build from sources by using Apache Netbean IDE 11.1 problems.

ont20164 years ago

Dear Anton

The traccar is the best open source code for using in the gps tracking system. I have been checkout the new source code 4.8 version from git since the codes can not be compiled as the Apache Netbean IDE 11.1. The last times were version 4.4 that can be built without any problems. Here is the following errors so that please let me know to correct them.

JAVA_HOME="C:\Program Files\Java\jdk-12.0.2"
cd C:\Users\xxx\Documents\traccar; ./gradlew --configure-on-demand clean build
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
org/gradle/api/attributes/LibraryElements

* 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 0s

Cannot load: 
org/gradle/api/attributes/LibraryElements
org/gradle/api/attributes/LibraryElements
Could not run build action using Gradle installation 'c:\...\gradle-4.10.2'

Thank you for your support.

Best Regards,

Supakit

Anton Tananaev4 years ago

Have you tried Maven instead of Gradle?