There is a serializable class for sharing over gwt-rpc. One of the class methods works with the sqlite database.
The application does not load, the first error indicates the line
Class.forName("org.sqlite.JDBC"); The method of the class being serialized and writes:
"The method forName (String) is undefined for the type Class".
As far as I understand, the problem is in loading the class "org.sqlite.JDBC". I tried different options, including these
MyClass.getClassLoader().loadClass("org.sqlite.JDBC").newInstance(); Class.class.getClassLoader().loadClass("org.sqlite.JDBC"); the result is the same: "The method getClassLoader () is undefined for the type Class <class>"
Is it possible to solve the problem?