Class( {
id :"Account",
properties :
{
name : { type:"string" },
holder : {"$ref": "/User"},
entries : { type: [ "Any" ] }
}
});
My apologies for the strange formatting. My problem is this: No matter how I try to proof-read the json-schema standard and documentation I always get the following error when I start Persevere;
2009-09-10 15:05:30.889::WARN: Nested in java.lang.ExceptionInInitializerError:
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.persvr.data.DataSourceManager.<clinit>(DataSourceManager.java:165)
at org.persvr.data.Identification.idForString(Identification.java:48)
at org.persvr.Persevere.load(Persevere.java:145)
...
I have tried to remove one or the other file from the directory, and I still get the same error. If I remove both Persevere starts nicely without a hitch. I think I am making some kind of very basic mistake here, but what?
Thanks!
Cheers,
PS