After building the runtime version it is not possible to launch the runtime. I get the message:
Java Virtual Machine Launcher: Invalid or corrupt jarfile: …/servoy_runtime.jar
When I replace this jarfile by an older one (produced by ServoyRuntimeBuilder 2.2.1 rc3) the solution starts, but with a lot of errors. Almost every onLoad method throws exceptions.
I use Servoy Developer Version R2 2.2.1-build 333 and I get the same error when I want to change the solution name: “java.lang.NoSuchMethodError: com.servoy.j2db.SelectSolutionDialog.showDialog(Lcom/servoy/j2db/persistence/IRepository;Ljava/lang/String;)Lcom/servoy/j2db/persistence/SolutionDefinition;”.
I go to the database and change the solution name there, and then I get another error when I push the “Build Project” button: “java.lang.Exception: !servoy.plugin.runtimebuilder.error.solutionNotFound!”
Any advice? This happens only after I upgraded to the latest version of Servoy. With the older versions everything worked just fine.
I tried to import the solution into an older version of Servoy and create the runtime from there. But it does not let me import the solution, because its version number is newer.