I am facing a problem where i click log out button in the MainScreen, White Label Error will display with unexpected error (type=Internal Server Error, status=500). i had tried using App.getInstance().logout() and AppUI.getCurrent().getApp().logout() but same error occurs. Any ideas/work a round can share with me casue i am running out of ideas to solve this.
this error occur before i upgrading to jmix 1.5.1.
Thanks for the reply, unfortunately, i could not reproduce any Stacktrace as it doesn’t print any error/logs in my console, but I manage to work around to solve this but not pretty sure it is a good practise or not.
hello
I have a problem to solve, how can I solve it I’m trying to work with mysql, please someone help me?
/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/java liquibase.integration.commandline.Main --driver com.mysql.cj.jdbc.Driver --changeLogFile com/company/appbackend/liquibase/changelog.xml --url jdbc:mysql://localhost:3306/fzsbackend?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false --username root --password 12345678 --logLevel INFO update
[2023-07-01 12:55:41] INFO [liquibase.integration] No Liquibase Pro license key supplied. Please set liquibaseProLicenseKey on command line or in liquibase.properties to use Liquibase Pro features.
Liquibase Community 4.11.0 by Liquibase
####################################################
####################################################
Starting Liquibase at 12:55:41 (version 4.11.0 #2708 built at 2022-05-23 15:17+0000)
Unexpected error running Liquibase: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
For more information, please use the --logLevel flag
[2023-07-01 12:55:41] SEVERE [liquibase.integration] Unexpected error running Liquibase: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:138)
at liquibase.integration.commandline.Main.doMigration(Main.java:1516)
at liquibase.integration.commandline.Main$1.lambda$run$0(Main.java:398)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.integration.commandline.Main$1.run(Main.java:397)
at liquibase.integration.commandline.Main$1.run(Main.java:221)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:165)
at liquibase.integration.commandline.Main.run(Main.java:221)
at liquibase.integration.commandline.Main.main(Main.java:164)
Caused by: liquibase.exception.DatabaseException: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:217)
at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:176)
at liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:141)
at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:92)
… 12 more
Caused by: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
at liquibase.database.DatabaseFactory.loadDriver(DatabaseFactory.java:272)
at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:201)
… 15 more