The cayenne.xml file needs to be in your CLASSPATH. Check to make sure
that your CLASSPATH is correct and/or that your cayenne.xml path is
where you expected it to be.
-----Original Message-----
From: news [mailto:new..ea.gmane.org] On Behalf Of Heiko
Sent: Monday, April 25, 2005 11:15 AM
To: cayenne-use..bjectstyle.org
Subject: 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:56:30 EDT