Control: tags -1 patch Control: reassign -1 hibiscus Hi,
Am 30.12.18 um 18:33 schrieb Christian Weiske: > Package: jameica > Version: 2.8.2+dfsg-6 > Severity: normal > > Dear Maintainer, > > I would like to use Jameica/Hibiscus with my MySQL server because I have a > central > hibiscusserver instance running in my home server. > > In bug #908618 you already fixed this issue by adding libmysql-java as > dependency. > Unfortunately, commit cd956753 changed this to libmariadb-java, which does not > seem to be supported by Hibiscus itself (the wiki only mentions MySQL, and > has no entries about mariadb). > > So now when trying to use > >> database.driver=de.willuhn.jameica.hbci.server.DBSupportMySqlImpl > > in .config/jameica/cfg/de.willuhn.jameica.hbci.rmi.HBCIDBService.properties, > I get an error: > >> java.lang.ClassNotFoundException: loader.jameica: >> class not found: com.mysql.jdbc.Driver > > I guess until Hibiscus itself brings support for libmariadb-java, > this package needs to depend on libmysql-java. Thanks for reporting. libmariadb-java is a drop-in replacement for libmysql-java. The error is caused because in hibiscus the driver class is hardcoded: src/de/willuhn/jameica/hbci/server/DBSupportMySqlImpl.java private final static String DRIVER = "com.mysql.jdbc.Driver"; This must be changed in hibiscus to private final static String DRIVER = "org.mariadb.jdbc.Driver"; Regards, Markus
signature.asc
Description: OpenPGP digital signature
__ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.
