cayenne.xml Error

From: Heiko (yos..luebottle.com)
Date: Mon Apr 25 2005 - 11:15:00 EDT

  • Next message: Gentry, Michael \(Contractor\): "RE: cayenne.xml Error"

    Hi!
    I just installed Cayenne and wanted to test the example cmd-line app.
    I followed all the steps in the tutorial and everything compiled without
    errors.
    But when I try to run my "test.Main " I allways get the following error:

    Exception in thread main
    org.objectstyle.cayenne.ConfigurationException: [v.1.2M1 November 21 2004]
    Error
    during Configuration initialization. [v.1.2M1 November 21 2004]
    [org.objectstyle.cayenne.conf.DefaultConfiguration] : Domain configuration file
    "cayenne.xml" is not found.

            at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    (Configuration.java:304)

            at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    (Configuration.java:278)

            at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    (Configuration.java:261)

            at
    org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration
    (Configuration.java:224)

            at test.Main.createContext(Main.java:47)

            at test.Main.<init>(Main.java:34)

            at test.Main.main(Main.java:30)

    Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2M1 November 21
    2004] [org.objectstyle.cayenne.conf.DefaultConfiguration] :
    Domain configuration file "cayenne.xml" is not found.

            at
    org.objectstyle.cayenne.conf.DefaultConfiguration.initialize
    (DefaultConfiguration.java:174)

            at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    (Configuration.java:296)

            ... 6 more

    Can anybody give me a hint?

    Thanks,
    Heiko



    This archive was generated by hypermail 2.0.0 : Mon Apr 25 2005 - 11:37:05 EDT