success with a problem
this is how I got it to work
cd /home/opc/demo/ziti-sdk-jvm/samples/jdbc-postgres/build/libs/
wget https://repo1.maven.org/maven2/org/openziti/ziti/0.23.12/ziti-0.23.12-full.jar
run the app
java -classpath /home/opc/demo/ziti-sdk-jvm/samples/jdbc-postgres/build/libs/jdbc-sample-postgres.jar:/home/opc/demo/ziti-sdk-jvm/samples/jdbc-postgres/build/libs/ziti-0.23.12-full.jar jdbc.postgres.App
here are the problems
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See SLF4J Error Codes for further details.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by retrofit2.Platform (file:/home/opc/demo/ziti-sdk-jvm/samples/jdbc-postgres/build/libs/ziti-0.23.12-full.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of retrofit2.Platform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
slf4j is used in the main ziti skd
I did a search for slf4j and it in the main gradle build file..
how can this be resolved? any tips
ziti-sdk-jvm-main/build.gradle:
30 kotlin: '1.6.10',
31 coroutines: '1.6.0',
32: slf4j: '1.7.36',
33 jupiter: '5.8.2',
34 androidxCore: '1.7.0',
..
42 kotlinTest: "org.jetbrains.kotlin:kotlin-test-junit:${versions.kotlin}",
43 kotlinCoroutinesTest: "org.jetbrains.kotlinx:kotlinx-coroutines-test:${versions.coroutines}",
44: slf4jApi: "org.slf4j:slf4j-api:${versions.slf4j}",
45: slf4jSimple: "org.slf4j:slf4j-simple:${versions.slf4j}",
46 jupiterApi: "org.junit.jupiter:junit-jupiter-api:${versions.jupiter}",
47 jupiter: "org.junit.jupiter:junit-jupiter-engine:${versions.jupiter}"