Open Strauteka opened 3 years ago
Additional info:
gradle run
Task :nusimapp:run FAILED Failed to start gui server: java.lang.Exception: Error starting managed module 'DAO' Caused by: java.net.ConnectException: Connection refused: connect
Port missmatch in ./build.gradle and default configuration ./nusimapp/src/main/resources/defaultConfig.json
postgresEmbedded {
port = 54321
}
"database": {
"dialect": "POSTGRES",
"executeLogging": false,
"username": "postgres",
"password": "cG9zdGdyZXM=",
"jdbcURL": "jdbc:postgresql://localhost:5432/postgres?tcpKeepAlive=true"
},
Ater that:
Task :nusimapp:run FAILED Failed to start gui server: java.lang.Exception: Error starting managed module 'DAO' Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
Adding additional info to build.gradle helps:
postgresEmbedded {
port = 5432
username = "postgres"
password = "postgres"
}
Doesn't build on Windows10, missing class "ReflectionCache". - For system setup see attached screeenshot. :)
Cheers!
Hello all! My experience setting up project.
If it not possible to make it compatible with gradle 7.0, then point out versions tested, working with. Did not use Gradle before, so obviously I will use latest version from graddle homepage and that is where problem starts. Also maybe migrate
gradle.build
config to newest configuration keys. https://docs.gradle.org/current/userguide/upgrading_version_5.htmlDependencies should no longer be declared using the compile and runtime configurations
The usage of the compile and runtime configurations in the Java ecosystem plugins has been discouraged since Gradle 3.4.
Please in Readme point out clean working versions. Is there is some detailed step by step documentations how to set up with quectel BG95? Make it somehow less painfull. If something doing wrong, keep in mind "First use of Gradle..."
Road map
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle -version
C:\Repositories\nuSIM-Loader-Application\gui>yarn version
C:\Repositories\nuSIM-Loader-Application\gui>yarn install
C:\Repositories\nuSIM-Loader-Application\gui>yarn build
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle build
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle build
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle build --stacktrace --warning-mode all
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle build
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle run
C:\Repositories\nuSIM-Loader-Application\nusimapp>gradle run
build.gradle.txt