Share

Jato

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Loading own application classes from XML

You are viewing a single message from this topic. View all messages.

  1. 2003-09-27 08:17:59 UTC
    Hi, I have successfully saved my application objects to a file but I can't seem to load them back in from the file. Although I have added an import statement to the Jato script, I still get the following exceptions:

    org.jato.JatoException: Could not perform transformation
    Nested Jato Exception Messages:
    org.jato.JatoException: Unable to create object of type 'Vector'

    org.jato.JatoException: Could not invoke method 'add'

    org.jato.JatoException: Unable to get parameter.

    org.jato.JatoException: Unable to create object for parameter

    org.jato.JatoException: Could not load class: ConnectionModel
    at org.jato.JatoScript.loadClass(JatoScript.java:484)
    at org.jato.Interpreter.loadClass(Interpreter.java:427)
    (etc)

    By experimentally changing the class from ConnectionModel to String, I was able to get the Jato script to run successfully, so the Vector exception was merely a consequence of the real problem.

    I then tried forcing the issue by changing the import statement from com.objectvalue.ag_patchd.* to com.objectvalue.ag_patchd.ConnectionModel - and the script then fails to compile, complaining that the class file cannot be found.

    What is going on?

    NB I am using Jato beta 5 under MacOS X.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.