org.objectstyle.cayenne.ConfigurationException

From: raggeler (r.aggele..mx.net)
Date: Sun Jul 30 2006 - 12:37:37 EDT

  • Next message: Andrus Adamchik: "Re: org.objectstyle.cayenne.ConfigurationException"

    Hi All

    I followed the tutorial here:

    http://cwiki.apache.org/CAYDOC/tutorial-object-relational-mapping.html

    Now when trying to create a DataContext, I get

    Exception in thread "main"
    org.objectstyle.cayenne.ConfigurationException: [v.1.2RC1 May 31 2006]
    Error during Configuration initialization. [v.1.2RC1 May 31 2006]
    [org.objectstyle.cayenne.conf.DefaultConfiguration] : Domain
    configuration file "cayenne.xml" is not found.
        at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:321)
        at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:294)
        at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:275)
        at
    org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Configuration.java:212)
        at
    org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.java:242)
        at dbHandling.Main.main(Main.java:10)
    Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2RC1 May
    31 2006] [org.objectstyle.cayenne.conf.DefaultConfiguration] : Domain
    configuration file "cayenne.xml" is not found.
        at
    org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:186)
        at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:312)
        ... 5 more

    Unfortunately I don't find anything useful with Google, and I'm pretty
    sure that I followed the tutorial correctly.

    maybe anyone here has an idea?

    Bye

    Rafael



    This archive was generated by hypermail 2.0.0 : Sun Jul 30 2006 - 12:38:03 EDT